Class PutOperationContext


@Deprecated public class PutOperationContext extends KeyValueOperationContext
Deprecated.
since Geode1.0, use ResourcePermission instead
Encapsulates an OperationContext.OperationCode.PUT region operation having both key and value objects for for both the pre-operation case and for post-operation updates.
Since:
GemFire 5.5
  • Field Details

    • UNKNOWN

      public static final byte UNKNOWN
      Deprecated.
      Indicates that it is not known whether the operation results in a create or in an update. The authorization callback should explicitly use the Region.containsKey(java.lang.Object) method to determine it when required.
      See Also:
    • CREATE

      public static final byte CREATE
      Deprecated.
      Indicates that the operation results in a create of the key.
      See Also:
    • UPDATE

      public static final byte UPDATE
      Deprecated.
      Indicates that the operation results in an update of the key.
      See Also:
  • Constructor Details

    • PutOperationContext

      public PutOperationContext(Object key, Object value, boolean isObject)
      Deprecated.
      Constructor for the operation.
      Parameters:
      key - the key for this operation
      value - the value for this operation
      isObject - true when the value is an object; false when it is a raw byte array
      Since:
      GemFire 6.5
    • PutOperationContext

      public PutOperationContext(Object key, Object value, boolean isObject, boolean postOperation)
      Deprecated.
      Constructor for the operation.
      Parameters:
      key - the key for this operation
      value - the value for this operation
      isObject - true when the value is an object; false when it is a raw byte array
      postOperation - true if the context is at the time of sending updates
      Since:
      GemFire 6.5
    • PutOperationContext

      public PutOperationContext(Object key, Object value, boolean isObject, byte opType, boolean isPostOperation)
      Deprecated.
      Constructor for the operation.
      Parameters:
      key - the key for this operation
      value - the value for this operation
      isObject - true when the value is an object; false when it is a raw byte array
      opType - flag to indicate whether the operation is create/update or unknown
      isPostOperation - true if the context is at the time of sending updates
      Since:
      GemFire 6.5
  • Method Details