Package org.apache.hadoop.hbase.metrics
Class MetricRegistriesLoader
java.lang.Object
org.apache.hadoop.hbase.metrics.MetricRegistriesLoader
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final String
private static final org.slf4j.Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static List<MetricRegistries>
static MetricRegistries
load()
Creates aMetricRegistries
instance using the correspondingMetricRegistries
available toServiceLoader
on the classpath.(package private) static MetricRegistries
load
(List<MetricRegistries> availableImplementations) Creates aMetricRegistries
instance using the correspondingMetricRegistries
available toServiceLoader
on the classpath.
-
Field Details
-
LOG
-
defaultClass
- See Also:
-
-
Constructor Details
-
MetricRegistriesLoader
private MetricRegistriesLoader()
-
-
Method Details
-
load
Creates aMetricRegistries
instance using the correspondingMetricRegistries
available toServiceLoader
on the classpath. If no instance is found, then default implementation will be loaded.- Returns:
- A
MetricRegistries
implementation.
-
load
Creates aMetricRegistries
instance using the correspondingMetricRegistries
available toServiceLoader
on the classpath. If no instance is found, then default implementation will be loaded.- Returns:
- A
MetricRegistries
implementation.
-
getDefinedImplemantations
-