com.ibm.websphere.ras
Class TraceElementState
- java.lang.Object
-
- com.ibm.websphere.ras.TraceElementState
-
- All Implemented Interfaces:
- java.io.Serializable
Deprecated.As of WAS 6.0, recommend using java.util.logging
public class TraceElementState extends java.lang.Object implements java.io.Serializable
ATraceElementState
object is an object whose contents contain a snapshot of the trace enable/disable state of an element for which trace can be enabled or disabled. The element is a named entity and is managed as an atomic unit by the WebSphere trace service. A WebSphere JRasRASTraceLogger
a trace group or a WebSphere internalTraceComponent
are examples of such elements.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static int
debugEnabled
Deprecated.An integer constant that can be used in a comparison check against the current value of aTraceElementState
s mask to determine ifDebug
tracing is enabled.static int
entryExitEnabled
Deprecated.An integer constant that can be used in a comparison check against the current value of aTraceElementState
s mask to determine ifEntryExit
tracing is enabled.static int
eventEnabled
Deprecated.An integer constant that can be used in a comparison check against the current value of aTraceElementState
s mask to determine ifEvent
tracing is enabled.int
mask
Deprecated.The mask whose contents capture the trace enable state for the trace entity identified by the name attribute.java.lang.String
name
Deprecated.The name of the trace entity whose state is captured by thisTraceElementState
-
Constructor Summary
Constructors Constructor and Description TraceElementState(com.ibm.ejs.ras.TraceElement element)
Deprecated.Constructor.
-
-
-
Field Detail
-
eventEnabled
public static final int eventEnabled
Deprecated.An integer constant that can be used in a comparison check against the current value of aTraceElementState
s mask to determine ifEvent
tracing is enabled. If the results of "anding" this objects mask with this constant is nonzero, thenEvent
tracing is enabled.- See Also:
- Constant Field Values
-
entryExitEnabled
public static final int entryExitEnabled
Deprecated.An integer constant that can be used in a comparison check against the current value of aTraceElementState
s mask to determine ifEntryExit
tracing is enabled. If the results of "anding" this objects mask with this constant is nonzero, thenEntryExit
tracing is enabled.- See Also:
- Constant Field Values
-
debugEnabled
public static final int debugEnabled
Deprecated.An integer constant that can be used in a comparison check against the current value of aTraceElementState
s mask to determine ifDebug
tracing is enabled. If the results of "anding" this objects mask with this constant is nonzero, thenDebug
tracing is enabled.- See Also:
- Constant Field Values
-
name
public java.lang.String name
Deprecated.The name of the trace entity whose state is captured by thisTraceElementState
-
mask
public int mask
Deprecated.The mask whose contents capture the trace enable state for the trace entity identified by the name attribute.
-
-