NAME_COMPARATOR
Modifier and Type | Method and Description |
---|---|
void |
add(DebugContext debug,
long value)
Adds
value to this counter. |
CounterKey |
doc(String string)
Sets the documentation for this key.
|
long |
getCurrentValue(DebugContext debug)
Gets the current value of this counter.
|
void |
increment(DebugContext debug)
Adds 1 to this counter.
|
boolean |
isEnabled(DebugContext debug)
Determines if this counter is enabled.
|
getDoc, getDocName, getName, toCSVFormat, toHumanReadableFormat
void increment(DebugContext debug)
void add(DebugContext debug, long value)
value
to this counter.long getCurrentValue(DebugContext debug)
boolean isEnabled(DebugContext debug)
CounterKey doc(String string)
MetricKey