Class NBMetricGaugeWrapper
java.lang.Object
io.nosqlbench.nb.api.engine.metrics.instruments.NBMetricGaugeWrapper
- All Implemented Interfaces:
com.codahale.metrics.Gauge<Double>,com.codahale.metrics.Metric,NBMetric,NBMetricGauge,NBLabeledElement
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.nosqlbench.nb.api.labels.NBLabeledElement
NBLabeledElement.BasicLabeledElement -
Field Summary
Fields inherited from interface io.nosqlbench.nb.api.labels.NBLabeledElement
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionNBMetricGaugeWrapper(NBLabels labels, com.codahale.metrics.Gauge<Double> gauge, String description, MetricCategory... categories) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.nosqlbench.nb.api.labels.NBLabeledElement
description
-
Constructor Details
-
NBMetricGaugeWrapper
public NBMetricGaugeWrapper(NBLabels labels, com.codahale.metrics.Gauge<Double> gauge, String description, MetricCategory... categories)
-
-
Method Details
-
getValue
-
getLabels
- Specified by:
getLabelsin interfaceNBLabeledElement
-
typeName
-
getDescription
- Specified by:
getDescriptionin interfaceNBMetric
-
getCategories
- Specified by:
getCategoriesin interfaceNBMetric
-