Interface RmWatcher.InitializationStrategy
- All Known Implementing Classes:
RmWatcher.ContinueFromEnd, RmWatcher.ContinueWithToken, RmWatcher.LoadSnapshot
public static interface RmWatcher.InitializationStrategy
Strategy for how the watch stream is initialized
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(BiConsumer<String, Boolean> tokenAndSnapshotConsumer) Apply the given consumer with the appropriate continueToken and includeSnapshot values.
-
Method Details
-
accept
Apply the given consumer with the appropriate continueToken and includeSnapshot values.
-