Class WindowSummaryGauge
java.lang.Object
io.nosqlbench.nb.api.engine.metrics.WindowSummaryGauge
- All Implemented Interfaces:
com.codahale.metrics.Gauge<Double>,com.codahale.metrics.Metric,NBMetric,NBMetricGauge,NBLabeledElement,DoubleConsumer
Create a discrete stat reservoir as a gauge.
-
Nested Class Summary
Nested ClassesNested 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
ConstructorsConstructorDescriptionWindowSummaryGauge(int window, NBLabels labels, WindowSummaryGauge.Stat stat, 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 java.util.function.DoubleConsumer
andThenMethods inherited from interface io.nosqlbench.nb.api.labels.NBLabeledElement
description
-
Constructor Details
-
WindowSummaryGauge
public WindowSummaryGauge(int window, NBLabels labels, WindowSummaryGauge.Stat stat, String description, MetricCategory... categories)
-
-
Method Details
-
typeName
-
getDescription
- Specified by:
getDescriptionin interfaceNBMetric
-
getCategories
- Specified by:
getCategoriesin interfaceNBMetric
-
accept
public void accept(double value) - Specified by:
acceptin interfaceDoubleConsumer
-
getValue
-
getLabels
- Specified by:
getLabelsin interfaceNBLabeledElement
-
toString
-