Class ContainsValueMultimapOperation

All Implemented Interfaces:
Runnable, CompletionStage<Boolean>, Future<Boolean>, HotRodConstants, ChannelOperation

public class ContainsValueMultimapOperation extends RetryOnFailureOperation<Boolean>
Implements "contains value" for multimap cache as defined by Hot Rod protocol specification.
Since:
14.0
  • Field Details

    • value

      protected final byte[] value
  • Constructor Details

    • ContainsValueMultimapOperation

      protected ContainsValueMultimapOperation(OperationContext operationContext, int flags, byte[] value, org.infinispan.api.common.CacheOptions options, boolean supportsDuplicates)
  • 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<Boolean>
      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<Boolean>
    • sendValueOperation

      protected void sendValueOperation(io.netty.channel.Channel channel)