| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public NotificationResult | fetchNotifications(NotificationBufferFilter
an object that will add notifications to a
filter, long List<TargetedNotification> if they match the current
listeners with their filters.the first sequence number to
consider. startSequenceNumber, long the maximum time to wait. May be 0 to indicate
not to wait if there are no notifications. timeout, int the maximum number of notifications to
return. May be 0 to indicate a wait for eligible notifications
that will return a usable maxNotifications)nextSequenceNumber. The
TargetedNotification array in the returned NotificationResult may contain more than this number of
elements but will not contain more than this number of
different notifications.Fetch notifications that match the given listeners. |
| dispose | back to summary |
|---|---|
| public void dispose() Discard this buffer. | |
| fetchNotifications | back to summary |
|---|---|
| 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 If there are no notifications matching the criteria, the operation will block until one arrives, subject to the timeout.
| |