@Experimental(value=METRICS) public interface MetricsContainer extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
Counter |
getCounter(MetricName metricName)
Return the
Counter that should be used for implementing the given
metricName in this container. |
Distribution |
getDistribution(MetricName metricName)
Return the
Distribution that should be used for implementing the given
metricName in this container. |
Gauge |
getGauge(MetricName metricName)
Return the
Gauge that should be used for implementing the given
metricName in this container. |
Counter getCounter(MetricName metricName)
Counter that should be used for implementing the given
metricName in this container.Distribution getDistribution(MetricName metricName)
Distribution that should be used for implementing the given
metricName in this container.Gauge getGauge(MetricName metricName)
Gauge that should be used for implementing the given
metricName in this container.