javax.management.timer
Class TimerNotification
java.lang.Object
java.util.EventObject
javax.management.Notification (src)
javax.management.timer.TimerNotification
- All Implemented Interfaces:
- java.io.Serializable
- public class TimerNotification
- extends Notification (src)
A notification from the timer service.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
TimerNotification(java.lang.String type,
java.lang.Object source,
long sequenceNumber,
long timeStamp,
java.lang.String message,
java.lang.Integer id)
Construct a new timer notification. |
Method Summary |
java.lang.Integer |
getNotificationID()
Retrieves the notification id of this timer notification. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TimerNotification
public TimerNotification(java.lang.String type,
java.lang.Object source,
long sequenceNumber,
long timeStamp,
java.lang.String message,
java.lang.Integer id)
- Construct a new timer notification.
- Parameters:
type
- the notification type.source
- the notification source.sequenceNumber
- the notification sequence within the source object.timeStamp
- the time the notification was sent.message
- the detailed message.id
- the timer notification id.
getNotificationID
public java.lang.Integer getNotificationID()
- Retrieves the notification id of this timer notification.
- Returns:
- the notification id.
toString
public java.lang.String toString()
- Overrides:
toString
in class Notification (src)
- Returns:
- human readable string.