Class StateSet.DataPoint
java.lang.Object
io.prometheus.metrics.core.metrics.StateSet.DataPoint
- All Implemented Interfaces:
DataPoint, StateSetDataPoint
- Enclosing class:
StateSet
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoidstatemust be one of the states from when theStateSetwas created withStateSet.Builder.states(String...).voidstatemust be one of the states from when theStateSetwas created withStateSet.Builder.states(String...).Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface StateSetDataPoint
setFalse, setTrue
-
Field Details
-
values
private final boolean[] values
-
-
Constructor Details
-
DataPoint
private DataPoint()
-
-
Method Details
-
setTrue
Description copied from interface:StateSetDataPointstatemust be one of the states from when theStateSetwas created withStateSet.Builder.states(String...).- Specified by:
setTruein interfaceStateSetDataPoint
-
setFalse
Description copied from interface:StateSetDataPointstatemust be one of the states from when theStateSetwas created withStateSet.Builder.states(String...).- Specified by:
setFalsein interfaceStateSetDataPoint
-
set
-