Class QuerySubscription<E>
java.lang.Object
org.infinispan.commons.reactive.AbstractAsyncPublisherHandler<Query<E>, E, QueryResult<E>, QueryResult<E>>
org.infinispan.commons.api.query.impl.QuerySubscription<E>
- All Implemented Interfaces:
io.reactivex.rxjava3.functions.Action,io.reactivex.rxjava3.functions.LongConsumer
public class QuerySubscription<E>
extends AbstractAsyncPublisherHandler<Query<E>, E, QueryResult<E>, QueryResult<E>>
-
Field Summary
Fields inherited from class org.infinispan.commons.reactive.AbstractAsyncPublisherHandler
batchSize, log, supplier -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected longhandleInitialResponse(QueryResult<E> eQueryResult, Query<E> es) protected longhandleNextResponse(QueryResult<E> eQueryResult, Query<E> es) protected voidsendCancel(Query<E> es) protected CompletionStage<QueryResult<E>> sendInitialCommand(Query<E> es, int batchSize) protected CompletionStage<QueryResult<E>> sendNextCommand(Query<E> es, int batchSize) Methods inherited from class org.infinispan.commons.reactive.AbstractAsyncPublisherHandler
accept, checkCancelled, handleThrowableInResponse, onNext, run, startPublisher, targetComplete
-
Constructor Details
-
QuerySubscription
-
-
Method Details
-
sendCancel
- Specified by:
sendCancelin classAbstractAsyncPublisherHandler<Query<E>, E, QueryResult<E>, QueryResult<E>>
-
sendInitialCommand
- Specified by:
sendInitialCommandin classAbstractAsyncPublisherHandler<Query<E>, E, QueryResult<E>, QueryResult<E>>
-
sendNextCommand
- Specified by:
sendNextCommandin classAbstractAsyncPublisherHandler<Query<E>, E, QueryResult<E>, QueryResult<E>>
-
handleInitialResponse
- Specified by:
handleInitialResponsein classAbstractAsyncPublisherHandler<Query<E>, E, QueryResult<E>, QueryResult<E>>
-
handleNextResponse
- Specified by:
handleNextResponsein classAbstractAsyncPublisherHandler<Query<E>, E, QueryResult<E>, QueryResult<E>>
-