org.infinispan.stats.impl.ClusterCacheStatsFactory Maven / Gradle / Ivy
package org.infinispan.stats.impl;
import org.infinispan.factories.AbstractNamedCacheComponentFactory;
import org.infinispan.factories.AutoInstantiableFactory;
import org.infinispan.factories.annotations.DefaultFactoryFor;
import org.infinispan.stats.ClusterCacheStats;
/**
* ClusterCacheStatsFactory is a default factory class for {@link ClusterCacheStats}.
*
* This is an internal class, not intended to be used by clients.
* @author Vladimir Blagojevic
* @since 7.1
*/
@DefaultFactoryFor(classes={ClusterCacheStats.class})
public class ClusterCacheStatsFactory extends AbstractNamedCacheComponentFactory implements
AutoInstantiableFactory {
@SuppressWarnings("unchecked")
@Override
public T construct(Class componentType) {
T result = (T) new ClusterCacheStatsImpl();
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy