|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.management.remote.NotificationResult
Result of a query for buffered notifications. Notifications in a notification buffer have positive, monotonically increasing sequence numbers. The result of a notification query contains the following elements:
It is possible for the nextSequenceNumber to be less
than the earliestSequenceNumber. This signifies that
notifications between the two might have been lost.
| Constructor Summary | |
NotificationResult(long earliestSequenceNumber,
long nextSequenceNumber,
TargetedNotification[] targetedNotifications)
Constructs a notification query result. |
|
| Method Summary | |
long |
getEarliestSequenceNumber()
Returns the sequence number of the earliest notification still in the buffer. |
long |
getNextSequenceNumber()
Returns the sequence number of the next notification available for querying. |
TargetedNotification[] |
getTargetedNotifications()
Returns the notifications resulting from the query, and the listeners they correspond to. |
String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public NotificationResult(long earliestSequenceNumber,
long nextSequenceNumber,
TargetedNotification[] targetedNotifications)
Constructs a notification query result.
earliestSequenceNumber - the sequence number of the
earliest notification still in the buffer.nextSequenceNumber - the sequence number of the next
notification available for querying.targetedNotifications - the notifications resulting from
the query, and the listeners they correspond to. This array
can be empty.
IllegalArgumentException - if
targetedNotifications is null or if
earliestSequenceNumber or
nextSequenceNumber is negative.| Method Detail |
public long getEarliestSequenceNumber()
public long getNextSequenceNumber()
public TargetedNotification[] getTargetedNotifications()
public String toString()
|
JMX Remote API Specification 1.0 Final Release Generated from RI build jmxremote-1_0_1_03-b57.2 2005.11.28_17:40:34_MET |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||