|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ControlFlowRegistry> kieker.monitoring.core.registry.ControlFlowRegistry
public enum ControlFlowRegistry
Enum Constant Summary | |
---|---|
INSTANCE
The singleton instance. |
Method Summary | |
---|---|
long |
getAndStoreUniqueThreadLocalTraceId()
This method returns a thread-local traceid which is globally unique and stored it local for the thread. |
long |
getUniqueTraceId()
This methods returns a globally unique trace id. |
int |
incrementAndRecallThreadLocalEOI()
Since this method accesses a ThreadLocal variable, it is not (necessary to be) thread-safe. |
int |
recallAndIncrementThreadLocalESS()
Since this method accesses a ThreadLocal variable, it is not (necessary to be) thread-safe. |
int |
recallThreadLocalEOI()
This method returns the thread-local curEoi previously registered using the method registerTraceId(curTraceId). |
int |
recallThreadLocalESS()
This method returns the thread-local curEss previously registered using the method registerTraceId(curTraceId). |
long |
recallThreadLocalTraceId()
This method returns the thread-local traceid previously registered using the method registerTraceId(curTraceId). |
void |
storeThreadLocalEOI(int eoi)
Used to explicitly register an curEoi. |
void |
storeThreadLocalESS(int ess)
Used to explicitly register a execution stack size (ess) value. |
void |
storeThreadLocalTraceId(long traceId)
This method stores a thread-local curTraceId. |
void |
unsetThreadLocalEOI()
This method unsets a previously registered traceid. |
void |
unsetThreadLocalESS()
This method unsets a previously registered curEss. |
void |
unsetThreadLocalTraceId()
This method unsets a previously registered traceid. |
static ControlFlowRegistry |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ControlFlowRegistry[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ControlFlowRegistry INSTANCE
Method Detail |
---|
public static final ControlFlowRegistry[] values()
for(ControlFlowRegistry c : ControlFlowRegistry.values()) System.out.println(c);
public static ControlFlowRegistry valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic final long getUniqueTraceId()
public final long getAndStoreUniqueThreadLocalTraceId()
public final void storeThreadLocalTraceId(long traceId)
traceId
- The trace ID to store in a thread-local way.public final long recallThreadLocalTraceId()
public final void unsetThreadLocalTraceId()
public final void storeThreadLocalEOI(int eoi)
eoi
- The execution order index to register.public final int incrementAndRecallThreadLocalEOI()
public final int recallThreadLocalEOI()
public final void unsetThreadLocalEOI()
public final void storeThreadLocalESS(int ess)
unsetThreadLocalESS()
!
ess
- The execution stack size to store.public final int recallAndIncrementThreadLocalESS()
public final int recallThreadLocalESS()
public final void unsetThreadLocalESS()
|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |