Package io.prometheus.client
Class Enumeration.Child
- java.lang.Object
-
- io.prometheus.client.Enumeration.Child
-
- Enclosing class:
- Enumeration
public static class Enumeration.Child extends java.lang.ObjectThe value of a single Enumeration.Warning: References to a Child become invalid after using
SimpleCollector.remove(java.lang.String...)orSimpleCollector.clear().
-
-
Constructor Summary
Constructors Modifier Constructor Description privateChild(java.util.Set<java.lang.String> states)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringget()Get the state.voidstate(java.lang.Enum e)Set the state.voidstate(java.lang.String s)Set the state.
-