Class MapPutOperation<K,​V>

  • All Implemented Interfaces:
    Operation, SCOOperation

    public class MapPutOperation<K,​V>
    extends java.lang.Object
    implements SCOOperation
    Put operation for a map where we have a backing store.
    • Field Detail

      • fieldNumber

        final int fieldNumber
      • key

        final K key
        The key to add.
      • value

        final V value
        The value to add.
    • Method Detail

      • getKey

        public java.lang.Object getKey()
        Accessor for the key being put.
        Returns:
        Key being put
      • getValue

        public java.lang.Object getValue()
        Accessor for the value being put against this key.
        Returns:
        Value being put against the key
      • perform

        public void perform()
        Perform the put(Object, Object) operation to the backing store.
        Specified by:
        perform in interface Operation
      • getStore

        public Store getStore()
        Description copied from interface: SCOOperation
        Accessor for the backing store for this operation.
        Specified by:
        getStore in interface SCOOperation
        Returns:
        The backing store
      • getStateManager

        public DNStateManager getStateManager()
        Description copied from interface: Operation
        Accessor for StateManager of the object that this operation is performed on.
        Specified by:
        getStateManager in interface Operation
        Returns:
        StateManager
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object