Class Enumeration.Child

java.lang.Object
io.prometheus.client.Enumeration.Child
Enclosing class:
Enumeration

public static class Enumeration.Child extends Object
The value of a single Enumeration.

Warning: References to a Child become invalid after using SimpleCollector.remove(java.lang.String...) or SimpleCollector.clear().

  • Field Details

  • Constructor Details

  • Method Details

    • state

      public void state(String s)
      Set the state.
    • state

      public void state(Enum e)
      Set the state.
    • get

      public String get()
      Get the state.