Class RegionCreateOperationContext

java.lang.Object
org.apache.geode.cache.operations.OperationContext
org.apache.geode.cache.operations.RegionCreateOperationContext

@Deprecated public class RegionCreateOperationContext extends OperationContext
Deprecated.
since Geode1.0, use ResourcePermission instead
Encapsulates a OperationContext.OperationCode.REGION_CREATE operation for both the pre-operation and post-operation cases.
Since:
GemFire 5.5
  • Constructor Details

    • RegionCreateOperationContext

      public RegionCreateOperationContext(boolean postOperation)
      Deprecated.
      Constructor for the region creation operation.
      Parameters:
      postOperation - true to set the post-operation flag
  • Method Details

    • getOperationCode

      public OperationContext.OperationCode getOperationCode()
      Deprecated.
      Return the operation associated with the OperationContext object.
      Specified by:
      getOperationCode in class OperationContext
      Returns:
      OperationCode.REGION_CREATE.
    • isPostOperation

      public boolean isPostOperation()
      Deprecated.
      True if the context is for post-operation.
      Specified by:
      isPostOperation in class OperationContext
      Returns:
      whether the context is for post-operation