|
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<TraceRegistry> kieker.monitoring.core.registry.TraceRegistry
public enum TraceRegistry
Enum Constant Summary | |
---|---|
INSTANCE
The singleton instance. |
Method Summary | |
---|---|
TraceMetadata |
getTrace()
Gets a Trace for the current thread. |
TraceMetadata |
registerTrace()
This creates a new unique Trace object and registers it. |
void |
setParentTraceId(Thread t,
long traceId,
int orderId)
Sets the parent for the next created trace inside this thread. |
void |
unregisterTrace()
Unregisters the current Trace object. |
static TraceRegistry |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TraceRegistry[] |
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 TraceRegistry INSTANCE
Method Detail |
---|
public static final TraceRegistry[] values()
for(TraceRegistry c : TraceRegistry.values()) System.out.println(c);
public static TraceRegistry 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 TraceMetadata getTrace()
public final TraceMetadata registerTrace()
public final void unregisterTrace()
public final void setParentTraceId(Thread t, long traceId, int orderId)
t
- the thread the new trace belongs totraceId
- the parent trace idorderId
- the parent order id
|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |