Save This Page
Home » openjdk-7 » com.sun.jmx.remote » internal » [javadoc | source]
com.sun.jmx.remote.internal
public interface: NotificationBuffer [javadoc | source]

All Known Implementing Classes:
    ArrayNotificationBuffer, ShareBuffer

A buffer of notifications received from an MBean server.
Method from com.sun.jmx.remote.internal.NotificationBuffer Summary:
dispose,   fetchNotifications
Method from com.sun.jmx.remote.internal.NotificationBuffer Detail:
 public  void dispose()

    Discard this buffer.

 public NotificationResult fetchNotifications(NotificationBufferFilter filter,
    long startSequenceNumber,
    long timeout,
    int maxNotifications) throws InterruptedException

    Fetch notifications that match the given listeners.

    The operation only considers notifications with a sequence number at least startSequenceNumber. It will take no longer than timeout, and will return no more than maxNotifications different notifications.

    If there are no notifications matching the criteria, the operation will block until one arrives, subject to the timeout.