|
Kieker 1.12 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.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(java.lang.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(java.lang.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 are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, 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 TraceRegistry[] values()
for (TraceRegistry c : TraceRegistry.values()) System.out.println(c);
public static TraceRegistry 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 name
java.lang.NullPointerException - if the argument is nullpublic final TraceMetadata getTrace()
public final TraceMetadata registerTrace()
public final void unregisterTrace()
public final void setParentTraceId(java.lang.Thread t,
long traceId,
int orderId)
t - the thread the new trace belongs totraceId - the parent trace idorderId - the parent order id
|
Kieker 1.12 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||