declare namespace javax { namespace management { namespace remote { /** *

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.

* @since 1.5 */ // @ts-ignore class NotificationResult extends java.lang.Object implements java.io.Serializable { /** *

Constructs a notification query result.

* @param earliestSequenceNumber the sequence number of the * earliest notification still in the buffer. * @param nextSequenceNumber the sequence number of the next * notification available for querying. * @param targetedNotifications the notifications resulting from * the query, and the listeners they correspond to. This array * can be empty. * @exception IllegalArgumentException if * targetedNotifications is null or if * earliestSequenceNumber or * nextSequenceNumber is negative. */ // @ts-ignore constructor(earliestSequenceNumber: number /*long*/, nextSequenceNumber: number /*long*/, targetedNotifications: javax.management.remote.TargetedNotification[]) /** * Returns the sequence number of the earliest notification still * in the buffer. * @return the sequence number of the earliest notification still * in the buffer. */ // @ts-ignore public getEarliestSequenceNumber(): number /*long*/ /** * Returns the sequence number of the next notification available * for querying. * @return the sequence number of the next notification available * for querying. */ // @ts-ignore public getNextSequenceNumber(): number /*long*/ /** * Returns the notifications resulting from the query, and the * listeners they correspond to. * @return the notifications resulting from the query, and the * listeners they correspond to. This array can be empty. */ // @ts-ignore public getTargetedNotifications(): javax.management.remote.TargetedNotification[] /** * Returns a string representation of the object. The result * should be a concise but informative representation that is easy * for a person to read. * @return a string representation of the object. */ // @ts-ignore public toString(): string } } } }