public interface ReaderGroupNotificationListener
Modifier and Type | Method and Description |
---|---|
Observable<EndOfDataNotification> |
getEndOfDataNotifier(java.util.concurrent.ScheduledExecutorService executor)
Get an end of data notifier for a given reader group.
|
Observable<SegmentNotification> |
getSegmentNotifier(java.util.concurrent.ScheduledExecutorService executor)
Get a segment notifier for a given reader group.
|
Observable<SegmentNotification> getSegmentNotifier(java.util.concurrent.ScheduledExecutorService executor)
Note:
* In case of a seal stream operation the segments are sealed and the segment has no successors. In this case
the notifier is not triggered.
executor
- executor on which the listeners run.Observable<EndOfDataNotification> getEndOfDataNotifier(java.util.concurrent.ScheduledExecutorService executor)
Note:
* In case of a reader group managing streams, where not all streams are sealed, then EndOfDataNotification notifier
is never triggered since readers continue reading the unsealed stream once it has completed reading the sealed
stream.
executor
- executor on which the listeners run.