Class RmWatcher.ContinueWithToken
java.lang.Object
io.confluent.rm.api.RmWatcher.ContinueWithToken
- All Implemented Interfaces:
RmWatcher.InitializationStrategy
public static class RmWatcher.ContinueWithToken
extends Object
implements RmWatcher.InitializationStrategy
Continue a watch stream from a token. The token cannot be null or an empty string.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(BiConsumer<String, Boolean> tokenAndSnapshotConsumer) Apply the given consumer with the appropriate continueToken and includeSnapshot values.
-
Constructor Details
-
ContinueWithToken
-
-
Method Details
-
accept
Description copied from interface:RmWatcher.InitializationStrategyApply the given consumer with the appropriate continueToken and includeSnapshot values.- Specified by:
acceptin interfaceRmWatcher.InitializationStrategy
-