java.lang.Object | |
↳ | javax.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.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a notification query result. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the sequence number of the earliest notification still
in the buffer.
| |||||||||||
Returns the sequence number of the next notification available
for querying.
| |||||||||||
Returns the notifications resulting from the query, and the
listeners they correspond to.
| |||||||||||
Returns a string representation of the object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
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.
|
---|
Returns the sequence number of the earliest notification still in the buffer.
Returns the sequence number of the next notification available for querying.
Returns the notifications resulting from the query, and the listeners they correspond to.
Returns a string representation of the object. The result should be a concise but informative representation that is easy for a person to read.