public class TraceInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static long |
TRACE_ACL |
static long |
TRACE_ADMIN |
static long |
TRACE_ALL |
static long |
TRACE_AUTH |
static long |
TRACE_CONFIG |
static long |
TRACE_CONFIG_DETAIL |
static long |
TRACE_CONNECT |
static long |
TRACE_CONNECT_ERROR |
static long |
TRACE_DBSTORE |
static long |
TRACE_DEBUG |
static long |
TRACE_DEFAULT |
static long |
TRACE_DEST |
static long |
TRACE_FLOW |
static long |
TRACE_INFO |
static long |
TRACE_JAAS |
static long |
TRACE_JVM |
static long |
TRACE_JVMERR |
static long |
TRACE_LDAP_DEBUG |
static long |
TRACE_LIMITS |
static long |
TRACE_LOADER |
static long |
TRACE_MEMORY |
static long |
TRACE_MEMORY_DEBUG |
static long |
TRACE_MSG |
static long |
TRACE_MSTORE |
static long |
TRACE_MULTICAST
Deprecated.
As of release 8.3
|
static long |
TRACE_PRODCONS |
static long |
TRACE_ROUTE |
static long |
TRACE_ROUTE_DEBUG |
static long |
TRACE_RV_ADV |
static long |
TRACE_SS |
static long |
TRACE_SSL |
static long |
TRACE_SSL_DEBUG |
static long |
TRACE_TX |
static long |
TRACE_WARN |
Constructor and Description |
---|
TraceInfo()
Public constuctor that creates a TraveInfo with TRACE_DEFAULT set.
|
TraceInfo(long set,
long add,
long remove)
Public constructor used to create a new TraceInfo object.
|
Modifier and Type | Method and Description |
---|---|
void |
addTraceItems(long add)
Add the specified trace items to the current list of add trace items.
|
void |
clearAddTraceItems()
Clear the set of add trace items so that it is empty.
|
void |
clearAllTraceItems()
Clear the set of absolute, add, and remove trace items so the object is essentially empty.
|
void |
clearRemoveTraceItems()
Clear the set of remove trace items so that it is empty.
|
void |
clearSetTraceItems()
Clear the set of absolute trace items so that it is empty.
|
boolean |
equals(java.lang.Object o) |
static TraceInfo |
from(javax.management.openmbean.CompositeData cd)
For Internal use only, may be removed or deprecated in future.
|
long |
getAllTraceItems()
Get the calculated set of trace items.
|
long |
getTraceAddItems()
Get the set of add trace items.
|
long |
getTraceRemoveItems()
Get the set of remove trace items.
|
long |
getTraceSetItems()
Get the set of absolute trace items.
|
boolean |
hasItems(long traceItems)
Determine if a set of trace items will be logged based on the setting in
this TraceInfo.
|
void |
removeTraceItems(long remove)
Add the specified trace items to the current list of remove trace items.
|
void |
setTraceItems(long set)
Set the absolute trace items for this TraceInfo.
|
java.lang.String |
toString()
Generate a string representation of this TraceInfo.
|
public static final long TRACE_INFO
public static final long TRACE_WARN
public static final long TRACE_ACL
public static final long TRACE_LIMITS
public static final long TRACE_SSL
public static final long TRACE_SSL_DEBUG
public static final long TRACE_ROUTE
public static final long TRACE_ROUTE_DEBUG
public static final long TRACE_ADMIN
public static final long TRACE_CONFIG
public static final long TRACE_RV_ADV
public static final long TRACE_CONNECT
public static final long TRACE_CONNECT_ERROR
public static final long TRACE_PRODCONS
public static final long TRACE_DEST
public static final long TRACE_TX
public static final long TRACE_SS
public static final long TRACE_MEMORY
public static final long TRACE_MEMORY_DEBUG
public static final long TRACE_LDAP_DEBUG
public static final long TRACE_AUTH
public static final long TRACE_MSG
public static final long TRACE_FLOW
public static final long TRACE_JVM
public static final long TRACE_JAAS
@Deprecated public static final long TRACE_MULTICAST
public static final long TRACE_DBSTORE
public static final long TRACE_JVMERR
public static final long TRACE_MSTORE
public static final long TRACE_LOADER
public static final long TRACE_CONFIG_DETAIL
public static final long TRACE_DEBUG
public static final long TRACE_ALL
public static final long TRACE_DEFAULT
public TraceInfo()
public TraceInfo(long set, long add, long remove)
set
- The set of absolute trace items for this TraceInfo.add
- The set of add trace items for this TraceInfo.remove
- The set of remove trace items for this TraceInfo.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public void setTraceItems(long set)
set
- The set of absolute trace items for this TraceInfo. Can be a single TRACE_* constant or a set of TRACE_* constants combined with the binary OR operator (|).public void addTraceItems(long add)
add
- The set of trace items to append to the list of add trace items. Can be a single TRACE_* constant or a set of TRACE_* constants combined with the binary OR operator (|).public void removeTraceItems(long remove)
remove
- The set of trace items to append to the list of remove trace items. Can be a single TRACE_* constant or a set of TRACE_* constants combined with the binary OR operator (|).public long getTraceSetItems()
public long getTraceAddItems()
public long getTraceRemoveItems()
public void clearSetTraceItems()
public void clearAddTraceItems()
public void clearRemoveTraceItems()
public void clearAllTraceItems()
public long getAllTraceItems()
public boolean hasItems(long traceItems)
traceItems
- The trace items to test for. Can be a single TRACE_*
constant or a set of TRACE_* constants combined with the binary OR operator (|).public java.lang.String toString()
toString
in class java.lang.Object
public static TraceInfo from(javax.management.openmbean.CompositeData cd)
java.lang.IllegalArgumentException
- if CompositeType does not match
or if a null CompositeData is passed.Copyright © Cloud Software Group, Inc. All rights reserved