public static enum StatsUtil.What extends java.lang.Enum<StatsUtil.What>
Enum Constant and Description |
---|
BEGIN |
CONTAINER |
END |
GC |
MODULE |
OPERATOR |
QUEUE |
STREAM |
SYSTEM |
THREAD |
Modifier and Type | Method and Description |
---|---|
static StatsUtil.What |
fromOrdinal(int ordinal) |
com.streambase.sb.monitor.KeyRegistry |
getKeys() |
Tuple |
marshal(Tuple t,
StatTuplev3 data)
Marshal data into tuple, data would be recycled
|
StatTuplev3 |
newStatTuple(int cycle,
long time)
Create a new StatTuple with given cycle and time
|
StatTuplev3 |
newStatTuple(int cycle,
long time,
long id)
Special form of StatTuple that has ID, should not be called if this What does not register an ID field.
|
void |
recycle(StatTuplev3 st)
Recycle the stat tuple
|
StatTuplev3 |
unmarshal(Tuple t)
Un-marshal a tuple to a StatTuple
|
static StatsUtil.What |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StatsUtil.What[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatsUtil.What BEGIN
public static final StatsUtil.What END
public static final StatsUtil.What SYSTEM
public static final StatsUtil.What THREAD
public static final StatsUtil.What OPERATOR
public static final StatsUtil.What GC
public static final StatsUtil.What STREAM
public static final StatsUtil.What QUEUE
public static final StatsUtil.What MODULE
public static final StatsUtil.What CONTAINER
public static StatsUtil.What[] values()
for (StatsUtil.What c : StatsUtil.What.values()) System.out.println(c);
public static StatsUtil.What 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 com.streambase.sb.monitor.KeyRegistry getKeys()
public static StatsUtil.What fromOrdinal(int ordinal)
public Tuple marshal(Tuple t, StatTuplev3 data)
t
- data
- public void recycle(StatTuplev3 st)
st
- public StatTuplev3 unmarshal(Tuple t) throws NullValueException, TupleException
t
- TupleException
NullValueException
public StatTuplev3 newStatTuple(int cycle, long time)
cycle
- time
- public StatTuplev3 newStatTuple(int cycle, long time, long id)
cycle
- time
- id
-