public class TimerNotification extends Notification
The timer notifications are created and handled by the timer MBean.
source| Constructor and Description |
|---|
TimerNotification(String
Creates a timer notification object.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getNotificationID()
Gets the identifier of this timer notification.
|
getMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toStringgetSourcepublic TimerNotification(Stringtype, Object source, long sequenceNumber, long timeStamp, String msg, Integer id)
type - The notification type.
source - The notification producer.
sequenceNumber - The notification sequence number within the source object.
timeStamp - The notification emission date.
msg - The notification message.
id - The notification identifier.
public IntegergetNotificationID()