com.ibm.websphere.ras

Class TraceElementState

  1. java.lang.Object
  2. extended bycom.ibm.websphere.ras.TraceElementState
All implemented interfaces:
java.io.Serializable

Deprecated. As of WAS 6.0, recommend using java.util.logging
  1. public class TraceElementState
  2. extends java.lang.Object
  3. implements java.io.Serializable
A TraceElementState 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 JRas RASTraceLogger a trace group or a WebSphere internal TraceComponent are examples of such elements.
See Also:
Serialized Form

Field Summary

Modifier and Type Field and Description
  1. static
  2. int
debugEnabled
Deprecated. An integer constant that can be used in a comparison check against the current value of a TraceElementStates mask to determine if Debug tracing is enabled.
  1. static
  2. int
entryExitEnabled
Deprecated. An integer constant that can be used in a comparison check against the current value of a TraceElementStates mask to determine if EntryExit tracing is enabled.
  1. static
  2. int
eventEnabled
Deprecated. An integer constant that can be used in a comparison check against the current value of a TraceElementStates mask to determine if Event tracing is enabled.
  1. int
mask
Deprecated. The mask whose contents capture the trace enable state for the trace entity identified by the name attribute.
  1. java.lang.String
name
Deprecated. The name of the trace entity whose state is captured by this TraceElementState

Constructor Summary

Constructor and Description
TraceElementState(com.ibm.ejs.ras.TraceElement element)
Deprecated. Constructor.

Method Summary

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

eventEnabled

  1. public static final int eventEnabled
Deprecated.
An integer constant that can be used in a comparison check against the current value of a TraceElementStates mask to determine if Event tracing is enabled. If the results of "anding" this objects mask with this constant is nonzero, then Event tracing is enabled.

entryExitEnabled

  1. public static final int entryExitEnabled
Deprecated.
An integer constant that can be used in a comparison check against the current value of a TraceElementStates mask to determine if EntryExit tracing is enabled. If the results of "anding" this objects mask with this constant is nonzero, then EntryExit tracing is enabled.

debugEnabled

  1. public static final int debugEnabled
Deprecated.
An integer constant that can be used in a comparison check against the current value of a TraceElementStates mask to determine if Debug tracing is enabled. If the results of "anding" this objects mask with this constant is nonzero, then Debug tracing is enabled.

name

  1. public java.lang.String name
Deprecated.
The name of the trace entity whose state is captured by this TraceElementState

mask

  1. public int mask
Deprecated.
The mask whose contents capture the trace enable state for the trace entity identified by the name attribute.

Constructor Detail

TraceElementState

  1. public TraceElementState(com.ibm.ejs.ras.TraceElement element)
Deprecated.
Constructor.

Usage of this constructor is reserved. It may only be called by the WebSphere Application Server ras component.