Top Description Fields Constructors Methods
javax.management.timer

public Class TimerNotification

extends Notification
Class Inheritance

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.

Since
1.5

Field Summary

Modifier and TypeField and Description
private Integer
private static final long
Inherited from javax.management.Notification:
source

Constructor Summary

AccessConstructor and Description
public
TimerNotification(String
The notification type.
type
,
Object
The notification producer.
source
,
long
The notification sequence number within the source object.
sequenceNumber
,
long
The notification emission date.
timeStamp
,
String
The notification message.
msg
,
Integer
The notification identifier.
id
)

Creates a timer notification object.

Method Summary

Modifier and TypeMethod and Description
pack-priv Object
cloneTimerNotification()

Creates and returns a copy of this object.

public Integer

Returns:

The identifier.
getNotificationID
()

Gets the identifier of this timer notification.

Inherited from javax.management.Notification:
getMessagegetSequenceNumbergetTimeStampgetTypegetUserDatasetSequenceNumbersetSourcesetTimeStampsetUserDatatoString

Field Detail

notificationIDback to summary
private Integer notificationID
serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.management.Notification.serialVersionUID.

Constructor Detail

TimerNotificationback to summary
public TimerNotification(String type, Object source, long sequenceNumber, long timeStamp, String msg, Integer id)

Creates a timer notification object.

Parameters
type:String

The notification type.

source:Object

The notification producer.

sequenceNumber:long

The notification sequence number within the source object.

timeStamp:long

The notification emission date.

msg:String

The notification message.

id:Integer

The notification identifier.

Method Detail

cloneTimerNotificationback to summary
pack-priv Object cloneTimerNotification()

Creates and returns a copy of this object.

getNotificationIDback to summary
public Integer getNotificationID()

Gets the identifier of this timer notification.

Returns:Integer

The identifier.