Class QueryOperation<T>

java.lang.Object
java.util.concurrent.CompletableFuture<org.infinispan.query.remote.client.impl.BaseQueryResponse<T>>
org.infinispan.client.hotrod.impl.operations.HotRodOperation<org.infinispan.query.remote.client.impl.BaseQueryResponse<T>>
org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation<org.infinispan.query.remote.client.impl.BaseQueryResponse<T>>
org.infinispan.client.hotrod.impl.operations.QueryOperation<T>
All Implemented Interfaces:
Runnable, CompletionStage<org.infinispan.query.remote.client.impl.BaseQueryResponse<T>>, Future<org.infinispan.query.remote.client.impl.BaseQueryResponse<T>>, HotRodConstants, ChannelOperation

public final class QueryOperation<T> extends RetryOnFailureOperation<org.infinispan.query.remote.client.impl.BaseQueryResponse<T>>
Since:
6.0
Author:
anistor@redhat.com
  • Constructor Details

  • Method Details

    • executeOperation

      protected void executeOperation(io.netty.channel.Channel channel)
      Description copied from class: RetryOnFailureOperation
      Perform the operation-specific request/response I/O on the specified channel. If an error occurs during I/O, this class will detect it and retry the operation with a different channel by invoking the executeOperation method again.
      Specified by:
      executeOperation in class RetryOnFailureOperation<org.infinispan.query.remote.client.impl.BaseQueryResponse<T>>
      Parameters:
      channel - the channel to use for I/O
    • acceptResponse

      public void acceptResponse(io.netty.buffer.ByteBuf buf, short status, HeaderDecoder decoder)
      Specified by:
      acceptResponse in class HotRodOperation<org.infinispan.query.remote.client.impl.BaseQueryResponse<T>>