|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--javax.management.Notification | +--com.sun.jdmk.TraceNotification
This class defines an object used by the class Trace to send out all internal runtime information.
Field Summary | |
String |
className
The name of the class from which the information comes |
Throwable |
exception
The exception sent out by the class Trace. |
long |
globalSequenceNumber
Global sequence number representing the place of this notification in all notification sequence. |
String |
info
The information sent out by the class Trace. |
int |
level
The level of information. |
String |
methodName
The name of the method from which the information comes. |
long |
sequenceNumber
Sequence number representing the place of this notification in the sequence of all same type notifications |
String |
threadName
The name of the thread which created this notification. |
int |
type
The type of information. |
Fields inherited from class javax.management.Notification |
source |
Constructor Summary | |
TraceNotification(Object source,
long sequenceNumber,
long globalSequenceNumber,
int level,
int type,
String className,
String methodName,
String info,
Throwable exception)
Construct a TraceNotification object. |
Methods inherited from class javax.management.Notification |
getMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int level
public int type
public String className
public String methodName
public String info
It can be null if an exception is provided as information.
public Throwable exception
It can be null if a string is provided as information.
public long globalSequenceNumber
public long sequenceNumber
public String threadName
Constructor Detail |
public TraceNotification(Object source, long sequenceNumber, long globalSequenceNumber, int level, int type, String className, String methodName, String info, Throwable exception)
source
- the emitter of the notification.sequenceNumber
- the sequence number representing the place of this notification in the sequence of all same type notifications.globalSequenceNumber
- the global sequence number representing the place of this notification in all notifications sent out by the class Trace.level
- the level of information.type
- the type of the information.className
- the name of the class from which the information is from.methodName
- the name of the method from which the information is from.info
- an string as the trace information.exception
- an exception as the trace information.
|
JMX 1.2_8 2002.10.31_20:03:55_MET | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |