All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.stats.impl.ClusterContainerStatsFactory Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.stats.impl;

import org.infinispan.factories.AbstractComponentFactory;
import org.infinispan.factories.AutoInstantiableFactory;
import org.infinispan.factories.annotations.DefaultFactoryFor;
import org.infinispan.stats.ClusterContainerStats;

/**
 * @author Ryan Emerson
 * @since 9.0
 */
@DefaultFactoryFor(classes = ClusterContainerStats.class)
public class ClusterContainerStatsFactory extends AbstractComponentFactory implements AutoInstantiableFactory {
   @SuppressWarnings("unchecked")
   @Override
   public  T construct(Class componentType) {
      return (T) new ClusterContainerStatsImpl();
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy