|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface IStats.Gauge
Interface used to collect an instantaneous value.
A IStats.Gauge is useful for reporting a value at the time of a statistics collection.
| Nested Class Summary | |
|---|---|
static class |
IStats.Gauge.Type
Used to indicate the type of value that a Gauge returns. |
| Method Summary | |
|---|---|
void |
get(StringBuilder builder,
NumberFormat format)
Appends the current value of this IStats.Gauge. |
boolean |
getBooleanValue()
Gets the current value for a IStats.Gauge.Type.Boolean Gauge. |
byte |
getByteValue()
Gets the current value for a IStats.Gauge.Type.Byte Gauge. |
char |
getCharValue()
Gets the current value for a IStats.Gauge.Type.Char Gauge. |
double |
getDoubleValue()
Gets the current value for a IStats.Gauge.Type.Double Gauge. |
float |
getFloatValue()
Gets the current value for a IStats.Gauge.Type.Float Gauge. |
int |
getIntValue()
Gets the current value for a IStats.Gauge.Type.Int Gauge. |
long |
getLongValue()
Gets the current value for a IStats.Gauge.Type.Long Gauge. |
String |
getName()
Gets statistic name. |
XString |
getNameAsRaw()
Gets the stat's name as a XString. |
short |
getShortValue()
Gets the current value for a IStats.Gauge.Type.Short Gauge. |
XString |
getStringValue()
Gets the current value for a IStats.Gauge.Type.String Gauge. |
IStats.Gauge.Type |
getType()
Gets the IStats.Gauge.Type of the IStats.Gauge. |
| Method Detail |
|---|
IStats.Gauge.Type getType()
IStats.Gauge.Type of the IStats.Gauge.
IStats.Gauge.Type of the IStats.Gauge.String getName()
XString getNameAsRaw()
XString.
boolean getBooleanValue()
IStats.Gauge.Type.Boolean Gauge.
IStats.Gauge.Type.Boolean Gauge.byte getByteValue()
IStats.Gauge.Type.Byte Gauge.
IStats.Gauge.Type.Byte Gauge.char getCharValue()
IStats.Gauge.Type.Char Gauge.
IStats.Gauge.Type.Char Gauge.short getShortValue()
IStats.Gauge.Type.Short Gauge.
IStats.Gauge.Type.Short Gauge.int getIntValue()
IStats.Gauge.Type.Int Gauge.
IStats.Gauge.Type.Int Gauge.long getLongValue()
IStats.Gauge.Type.Long Gauge.
IStats.Gauge.Type.Long Gauge.float getFloatValue()
IStats.Gauge.Type.Float Gauge.
IStats.Gauge.Type.Float Gauge.double getDoubleValue()
IStats.Gauge.Type.Double Gauge.
IStats.Gauge.Type.Double Gauge.XString getStringValue()
IStats.Gauge.Type.String Gauge.
IStats.Gauge.Type.String Gauge.
void get(StringBuilder builder,
NumberFormat format)
IStats.Gauge.
to the provided StringBuilder.
builder - The builder to which to append the gauge value results.format - The number format to use for numeric formats.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||