Class MultiGetOperationImpl

All Implemented Interfaces:
GetOperation, KeyedOperation, Operation, VBucketAware
Direct Known Subclasses:
OptimizedGetImpl

public class MultiGetOperationImpl extends MultiKeyOperationImpl implements GetOperation
  • Field Details

  • Constructor Details

  • Method Details

    • addKey

      protected int addKey(String k)
      Add a key (and return its new opaque value).
    • initialize

      public void initialize()
      Description copied from interface: Operation
      Initialize this operation. This is used to prepare output byte buffers and stuff.
      Specified by:
      initialize in interface Operation
      Specified by:
      initialize in class BaseOperationImpl
    • finishedPayload

      protected void finishedPayload(byte[] pl) throws IOException
      Overrides:
      finishedPayload in class OperationImpl
      Throws:
      IOException
    • opaqueIsValid

      protected boolean opaqueIsValid()
      Description copied from class: OperationImpl
      Validate an opaque value from the header. This may be overridden from a subclass where the opaque isn't expected to always be the same as the request opaque.
      Overrides:
      opaqueIsValid in class OperationImpl
    • getRetryKeys

      public List<String> getRetryKeys()
      Returns the keys to redistribute.
      Returns:
      the keys to retry.