Package org.infinispan.metrics.impl
Class MetricsCollectorFactory
- java.lang.Object
-
- org.infinispan.metrics.impl.MetricsCollectorFactory
-
- All Implemented Interfaces:
AutoInstantiableFactory,ComponentFactory
public final class MetricsCollectorFactory extends Object implements ComponentFactory, AutoInstantiableFactory
Produces instances ofMetricsCollector. MetricsCollector is optional, based on the presence of the optional microprofile metrics API and the Smallrye implementation in classpath and the enabling of metrics in config.- Since:
- 10.1
- Author:
- anistor@redhat.com
-
-
Constructor Summary
Constructors Constructor Description MetricsCollectorFactory()
-
-
-
Method Detail
-
construct
public Object construct(String componentName)
- Specified by:
constructin interfaceComponentFactory- Returns:
- Either a component instance or a
ComponentAliaspointing to another component.
-
-