Home » openjdk-7 » javax » management » timer » [javadoc | source]
javax.management.timer
public class: TimerNotification [javadoc | source]
java.lang.Object
   java.util.EventObject
      javax.management.Notification
         javax.management.timer.TimerNotification

All Implemented Interfaces:
    Serializable

This class provides definitions of the notifications sent by timer MBeans.
It defines a timer notification identifier which allows to retrieve a timer notification from the list of notifications of a timer MBean.

The timer notifications are created and handled by the timer MBean.

Fields inherited from javax.management.Notification:
source
Fields inherited from java.util.EventObject:
source
Constructor:
 public TimerNotification(String type,
    Object source,
    long sequenceNumber,
    long timeStamp,
    String msg,
    Integer id) 
    Creates a timer notification object.
    Parameters:
    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.
Method from javax.management.timer.TimerNotification Summary:
cloneTimerNotification,   getNotificationID
Methods from javax.management.Notification:
getMessage,   getSequenceNumber,   getTimeStamp,   getType,   getUserData,   setSequenceNumber,   setSource,   setTimeStamp,   setUserData,   toString
Methods from java.util.EventObject:
getSource,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.management.timer.TimerNotification Detail:
 Object cloneTimerNotification() 
    Creates and returns a copy of this object.
 public Integer getNotificationID() 
    Gets the identifier of this timer notification.