Class BulkGetKeysOperation<K>

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

public class BulkGetKeysOperation<K> extends StatsAffectingRetryingOperation<Set<K>>
Reads all keys. Similar to BulkGet, but without the entry values.
Since:
14.0
  • Constructor Details

    • BulkGetKeysOperation

      public BulkGetKeysOperation(OperationContext operationContext, org.infinispan.api.common.CacheOptions options, int scope, DataFormat dataFormat)
  • 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<Set<K>>
      Parameters:
      channel - the channel to use for I/O
    • reset

      protected void reset()
      Overrides:
      reset in class RetryOnFailureOperation<Set<K>>
    • acceptResponse

      public void acceptResponse(io.netty.buffer.ByteBuf buf, short status, HeaderDecoder decoder)
      Specified by:
      acceptResponse in class HotRodOperation<Set<K>>