|
TIBCO Enterprise Message Service Version 4.3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tibco.tibjms.admin.TraceInfo
This class represents the set of trace message types that will be output to a particular output destination
(console or log file). The trace parameters consist of three sets of TRACE_* items that are evaluated as follows:
1) Absolute items (setTraceItems) are the starting point for the set of trace items that will be logged.
2) Add items (addTraceItems) are then added to the list of absolute items (duplicates are ignored).
3) Remove items (removeTraceItems) are then removed from the list above to get the final list of items.
setTraceItems() always overwrites the list of absolute items. addTraceItems() and removeTraceItems() append to their
respective lists of trace items. To reset all or part of the trace parameters, use the clear*() methods.
Field Summary | |
static long |
TRACE_ACL
|
static long |
TRACE_ADMIN
|
static long |
TRACE_ALL
|
static long |
TRACE_AUTH
|
static long |
TRACE_CONFIG
|
static long |
TRACE_CONNECT
|
static long |
TRACE_CONNECT_ERROR
|
static long |
TRACE_DEBUG
|
static long |
TRACE_DEFAULT
|
static long |
TRACE_DEST
|
static long |
TRACE_FLOW
|
static long |
TRACE_INFO
|
static long |
TRACE_LDAP_DEBUG
|
static long |
TRACE_LIMITS
|
static long |
TRACE_MSG
|
static long |
TRACE_PRODCONS
|
static long |
TRACE_ROUTE
|
static long |
TRACE_ROUTE_DEBUG
|
static long |
TRACE_RV_ADV
|
static long |
TRACE_SSL
|
static long |
TRACE_SSL_DEBUG
|
static long |
TRACE_TX
|
static long |
TRACE_TX_DEBUG
|
static long |
TRACE_WARN
|
static long |
TRACE_XA
|
static long |
TRACE_XA_DEBUG
|
Constructor Summary | |
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. |
Method Summary | |
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)
|
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. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
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_TX_DEBUG
public static final long TRACE_XA
public static final long TRACE_XA_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_DEBUG
public static final long TRACE_ALL
public static final long TRACE_DEFAULT
Constructor Detail |
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.Method Detail |
public boolean equals(java.lang.Object o)
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()
|
TIBCO Enterprise Message Service Version 4.3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |