Package alluxio.metrics.source
Interface Source
-
- All Known Implementing Classes:
JvmSource
public interface Source
Source is where the metrics generated. It uses aMetricRegistry
to register the metrics for monitoring.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.codahale.metrics.MetricRegistry
getMetricRegistry()
Gets the instance of theMetricRegistry
.java.lang.String
getName()
Gets the name of the Source.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Gets the name of the Source.- Returns:
- the name of the Source
-
getMetricRegistry
com.codahale.metrics.MetricRegistry getMetricRegistry()
Gets the instance of theMetricRegistry
. A MetricRegistry is used to register the metrics, and is passed to a Sink so that the sink knows which metrics to report.- Returns:
- the instance of the MetricRegistry
-
-