public class EndOfDataNotifier extends AbstractPollingNotifier<EndOfDataNotification>
executor, notifySystem| Constructor and Description |
|---|
EndOfDataNotifier(NotificationSystem notifySystem,
StateSynchronizer<io.pravega.client.stream.impl.ReaderGroupState> synchronizer,
java.util.concurrent.ScheduledExecutorService executor) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getType()
Get the notification type.
|
void |
pollNow()
Invokes the periodic processing now in the current thread.
|
void |
registerListener(Listener<EndOfDataNotification> listener)
Register listener for notification type T.
|
unregisterAllListeners, unregisterListenerpublic EndOfDataNotifier(NotificationSystem notifySystem, StateSynchronizer<io.pravega.client.stream.impl.ReaderGroupState> synchronizer, java.util.concurrent.ScheduledExecutorService executor)
public void pollNow()
public void registerListener(Listener<EndOfDataNotification> listener)
ObservableregisterListener in interface Observable<EndOfDataNotification>registerListener in class AbstractNotifier<EndOfDataNotification>listener - This is the listener which will be invoked incase of an Notification.public java.lang.String getType()
Observable