Package com.ocient.metrics
Class Gauge
public class Gauge extends Metric<Long>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ocient.metrics.Metric
Metric.CounterType, Metric.DataType, Metric.MetricPath, Metric.NamedTag, Metric.Tag, Metric.Units -
Constructor Summary
Constructors Constructor Description Gauge(Metric.MetricPath path, LongSupplier supplier, Metric.CounterType counterType, Metric.Units units) -
Method Summary
Modifier and Type Method Description Metric.CounterTypecounterType()Longget()
-
Constructor Details
-
Gauge
public Gauge(Metric.MetricPath path, LongSupplier supplier, Metric.CounterType counterType, Metric.Units units)
-
-
Method Details
-
get
-
counterType
- Specified by:
counterTypein classMetric<Long>- Returns:
- this perf counter's data
Metric.CounterType
-