Interface RxResultCursor
- All Superinterfaces:
org.reactivestreams.Subscription
- All Known Implementing Classes:
RxResultCursorImpl
public interface RxResultCursor
extends org.reactivestreams.Subscription
-
Method Summary
Modifier and TypeMethodDescriptionconsumed()discardAllFailureAsync(Observation parentObservation) Discarding all unconsumed records and returning failure if there is any pull errors.voidinstallRecordConsumer(BiConsumer<Record, Throwable> recordConsumer, Observation observation) booleanisDone()keys()pullAllFailureAsync(Observation parentObservation) Pulling all unconsumed records into memory and returning failure if there is any pull errors.rollback()Rolls back this instance by releasing connection with RESET.summaryAsync(Observation observation) Methods inherited from interface org.reactivestreams.Subscription
cancel, request
-
Method Details
-
keys
-
installRecordConsumer
-
summaryAsync
-
isDone
boolean isDone() -
getRunError
Throwable getRunError() -
rollback
CompletionStage<Void> rollback()Rolls back this instance by releasing connection with RESET.This must never be called on a published instance.
- Returns:
- reset completion stage
- Since:
- 5.11
-
discardAllFailureAsync
Discarding all unconsumed records and returning failure if there is any pull errors. -
pullAllFailureAsync
Pulling all unconsumed records into memory and returning failure if there is any pull errors. -
consumed
CompletionStage<Void> consumed()
-