public class TimerNotification extends Notification
The timer notifications are created and handled by the timer MBean.
source | Constructor | Description |
|---|---|
TimerNotification (String type,
Object source,
long sequenceNumber,
long timeStamp,
String msg,
Integer id) |
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()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
Scripting on this page tracks web page traffic, but does not change the content in any way.