Class OptimizedSetImpl

    • Field Detail

      • terminalOpaque

        private final int terminalOpaque
      • callbacks

        private final java.util.Map<java.lang.Integer,​OperationCallback> callbacks
      • byteCount

        private int byteCount
    • Constructor Detail

      • OptimizedSetImpl

        public OptimizedSetImpl​(CASOperation firstStore)
        Construct an optimized get starting with the given get operation.
    • Method Detail

      • addOperation

        public void addOperation​(CASOperation op)
      • size

        public int size()
      • bytes

        public int bytes()
      • cmdMap

        private static byte cmdMap​(StoreType t)
      • finishedPayload

        protected void finishedPayload​(byte[] pl)
                                throws java.io.IOException
        Overrides:
        finishedPayload in class OperationImpl
        Throws:
        java.io.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