|
JBoss Logging 3.3.2.Final | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.logging.NDC
public final class NDC
| Method Summary | |
|---|---|
static void |
clear()
Clears the nested diagnostics context. |
static java.lang.String |
get()
Retrieves the current values set for the nested diagnostics context. |
static int |
getDepth()
The current depth of the nested diagnostics context. |
static java.lang.String |
peek()
Peeks at the top value from the stack and returns it. |
static java.lang.String |
pop()
Pops top value from the stack and returns it. |
static void |
push(java.lang.String message)
Pushes a value to the nested diagnostics context stack. |
static void |
setMaxDepth(int maxDepth)
Sets maximum depth of the stack removing any entries below the maximum depth. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void clear()
public static java.lang.String get()
null if no value was setpublic static int getDepth()
public static java.lang.String pop()
public static java.lang.String peek()
public static void push(java.lang.String message)
message - the message to pushpublic static void setMaxDepth(int maxDepth)
maxDepth - the maximum depth to set
|
JBoss Logging 3.3.2.Final | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||