public enum SessionRegistry extends java.lang.Enum<SessionRegistry>
| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
recallThreadLocalSessionId()
This method returns the thread-local traceid previously registered using the method registerTraceId(curTraceId).
|
void |
storeThreadLocalSessionId(java.lang.String sessionId)
Used by the spring aspect to explicitly register a sessionid that is to be collected within a servlet method (that knows the request object).
|
void |
unsetThreadLocalSessionId()
This method unsets a previously registered sessionid.
|
static SessionRegistry |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SessionRegistry[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionRegistry INSTANCE
public static SessionRegistry[] values()
for (SessionRegistry c : SessionRegistry.values()) System.out.println(c);
public static SessionRegistry 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 final void storeThreadLocalSessionId(java.lang.String sessionId)
sessionId - The session ID.public final java.lang.String recallThreadLocalSessionId()
public final void unsetThreadLocalSessionId()
Copyright 2020 Kieker Project, http://kieker-monitoring.net