Module spring.data.mongodb
Interface ReactiveChangeStreamOperation.ResumingChangeStream<T>
- All Superinterfaces:
ReactiveChangeStreamOperation.TerminatingChangeStream<T>
- All Known Subinterfaces:
ReactiveChangeStreamOperation.ChangeStreamWithFilterAndProjection<T>,ReactiveChangeStreamOperation.ReactiveChangeStream<T>
- Enclosing interface:
- ReactiveChangeStreamOperation
public static interface ReactiveChangeStreamOperation.ResumingChangeStream<T>
extends ReactiveChangeStreamOperation.TerminatingChangeStream<T>
Resume a change stream. (optional).
-
Method Summary
Modifier and TypeMethodDescriptionresumeAfter(Object token) Resume the change stream after a given point.Resume the change stream at a given point.startAfter(Object token) Start the change stream after a given point.Methods inherited from interface org.springframework.data.mongodb.core.ReactiveChangeStreamOperation.TerminatingChangeStream
listen
-
Method Details
-
resumeAt
Resume the change stream at a given point.- Parameters:
token- anInstantorBsonTimestamp- Returns:
- new instance of
ReactiveChangeStreamOperation.TerminatingChangeStream. - Throws:
IllegalArgumentException- if the given beacon is neitherInstantnorBsonTimestamp.- See Also:
-
resumeAfter
Resume the change stream after a given point.- Parameters:
token- anInstantorBsonTimestamp- Returns:
- new instance of
ReactiveChangeStreamOperation.TerminatingChangeStream. - Throws:
IllegalArgumentException- if the given beacon not aBsonValue.- See Also:
-
startAfter
Start the change stream after a given point.- Parameters:
token- anInstantorBsonTimestamp- Returns:
- new instance of
ReactiveChangeStreamOperation.TerminatingChangeStream. - Throws:
IllegalArgumentException- if the given beacon not aBsonValue.- See Also:
-