Class NBFunctionGauge
java.lang.Object
io.nosqlbench.nb.api.engine.metrics.instruments.NBFunctionGauge
- 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
ConstructorsConstructorDescriptionNBFunctionGauge(NBComponent parent, Supplier<Double> source, String metricFamilyName, String description, MetricCategory... categories) NBFunctionGauge(NBComponent parent, Supplier<Double> source, String metricFamilyName, Map<String, String> additionalLabels, String description, MetricCategory... categories) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.nosqlbench.nb.api.labels.NBLabeledElement
description
-
Constructor Details
-
NBFunctionGauge
public NBFunctionGauge(NBComponent parent, Supplier<Double> source, String metricFamilyName, Map<String, String> additionalLabels, String description, MetricCategory... categories) -
NBFunctionGauge
public NBFunctionGauge(NBComponent parent, Supplier<Double> source, String metricFamilyName, String description, MetricCategory... categories)
-
-
Method Details
-
getValue
-
getLabels
- Specified by:
getLabelsin interfaceNBLabeledElement
-
toString
-
typeName
-
getDescription
- Specified by:
getDescriptionin interfaceNBMetric
-
getCategories
- Specified by:
getCategoriesin interfaceNBMetric
-