Package org.apache.commons.modeler
Class BaseNotification
java.lang.Object
java.util.EventObject
javax.management.Notification
org.apache.commons.modeler.BaseNotification
- All Implemented Interfaces:
Serializable
Base JMX Notification. Supports in int code and notes - for faster
access and dispatching.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
BaseNotification
(String type, Object source, long seq, long tstamp, int code) Private constructor. -
Method Summary
Methods inherited from class javax.management.Notification
getMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toString
Methods inherited from class java.util.EventObject
getSource
-
Field Details
-
code
private int code -
type
-
source
-
seq
private long seq -
tstamp
private long tstamp -
notes
-
-
Constructor Details
-
BaseNotification
Private constructor.
-
-
Method Details
-
recycle
public void recycle() -
init
-
getCode
public int getCode()Action id, useable in switches and table indexes -
getNote
-
setNote
-