public static enum FwdServerJMX.MapCounter extends java.lang.Enum<FwdServerJMX.MapCounter> implements OptionalMapCounter
| Enum Constant and Description |
|---|
LegacyServiceWorkerTaskCounter
Task counter for each legacy service worker thread.
|
SpreadsheetCmdNanos
Spreadsheet command invocation nano times
|
WidgetAttrEnqueues
Widget attribute enqueue count
|
| Modifier and Type | Field and Description |
|---|---|
private SimpleMapCounter |
counter
Counter instance
|
| Modifier and Type | Method and Description |
|---|---|
SimpleMapCounter |
getCounter()
Return counter instance
|
void |
register(BooleanConsumer agent)
Register enable/disable setter
|
java.lang.String |
toString(java.lang.String ts,
java.lang.String comment)
Return the string representation of the counter
|
void |
update(java.lang.String valueName,
long value)
Update counter
|
static FwdServerJMX.MapCounter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FwdServerJMX.MapCounter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FwdServerJMX.MapCounter WidgetAttrEnqueues
public static final FwdServerJMX.MapCounter LegacyServiceWorkerTaskCounter
public static final FwdServerJMX.MapCounter SpreadsheetCmdNanos
private final SimpleMapCounter counter
public static FwdServerJMX.MapCounter[] values()
for (FwdServerJMX.MapCounter c : FwdServerJMX.MapCounter.values()) System.out.println(c);
public static FwdServerJMX.MapCounter valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic void register(BooleanConsumer agent)
register in interface AgentRegistry<BooleanConsumer>agent - enable/disable setterpublic void update(java.lang.String valueName,
long value)
update in interface MapCountervalueName - value name to updatevalue - new valuepublic java.lang.String toString(java.lang.String ts,
java.lang.String comment)
throws java.io.IOException
toString in interface MapCounterts - The measurement time stampcomment - The commentjava.io.IOException - If IO exception occurspublic SimpleMapCounter getCounter()