Class NoopMetricsSystemFactory
java.lang.Object
org.apache.calcite.avatica.metrics.noop.NoopMetricsSystemFactory
- All Implemented Interfaces:
MetricsSystemFactory
A
MetricsSystemFactory for the NoopMetricsSystem.
No service file is provided for this implementation. It is the fallback implementation if no implementation or more than one implementation is found on the classpath.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(MetricsSystemConfiguration<?> config) Creates an instance of aMetricsSystem.
-
Constructor Details
-
NoopMetricsSystemFactory
public NoopMetricsSystemFactory()
-
-
Method Details
-
create
Description copied from interface:MetricsSystemFactoryCreates an instance of aMetricsSystem.- Specified by:
createin interfaceMetricsSystemFactory- Parameters:
config- the metrics system configuration.- Returns:
- A new
MetricsSystem.
-