Class NBVariableGauge
java.lang.Object
io.nosqlbench.nb.api.engine.metrics.instruments.NBVariableGauge
- All Implemented Interfaces:
com.codahale.metrics.Gauge<Double>,com.codahale.metrics.Metric,NBMetric,NBMetricGauge,NBLabeledElement
Use this gauge type when you are setting the gauge value directly. It is merely a holder
for the measurement which is injected at the discretion of the scenario.
-
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
ConstructorsConstructorDescriptionNBVariableGauge(NBComponent parent, String metricFamilyName, double initialValue, NBLabels additionalLabels, 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
-
NBVariableGauge
public NBVariableGauge(NBComponent parent, String metricFamilyName, double initialValue, NBLabels additionalLabels, String description, MetricCategory... categories)
-
-
Method Details
-
getLabels
- Specified by:
getLabelsin interfaceNBLabeledElement
-
getValue
-
typeName
-
getDescription
- Specified by:
getDescriptionin interfaceNBMetric
-
getCategories
- Specified by:
getCategoriesin interfaceNBMetric
-