Serializable
public class TimerNotification extends Notification
The timer notifications are created and handled by the timer MBean.
source
Constructor | Description |
---|---|
TimerNotification |
Creates a timer notification object. |
Modifier and Type | Method | Description |
---|---|---|
Integer |
getNotificationID() |
Gets the identifier of this timer notification. |
getMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toString
getSource
public TimerNotification(String type, 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 Integer getNotificationID()
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.management/javax/management/timer/TimerNotification.html