GemFire 6.5.1

com.gemstone.gemfire.cache.operations
Class RegionCreateOperationContext

java.lang.Object
  extended by com.gemstone.gemfire.cache.operations.OperationContext
      extended by com.gemstone.gemfire.cache.operations.RegionCreateOperationContext

public class RegionCreateOperationContext
extends OperationContext

Encapsulates a OperationContext.OperationCode.REGION_CREATE operation for both the pre-operation and post-operation cases.

Since:
5.5

Nested Class Summary
 
Nested classes/interfaces inherited from class com.gemstone.gemfire.cache.operations.OperationContext
OperationContext.OperationCode
 
Constructor Summary
RegionCreateOperationContext(boolean postOperation)
          Constructor for the region creation operation.
 
Method Summary
 OperationContext.OperationCode getOperationCode()
          Return the operation associated with the OperationContext object.
 boolean isPostOperation()
          True if the context is for post-operation.
 
Methods inherited from class com.gemstone.gemfire.cache.operations.OperationContext
isClientUpdate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegionCreateOperationContext

public RegionCreateOperationContext(boolean postOperation)
Constructor for the region creation operation.

Parameters:
postOperation - true to set the post-operation flag
Method Detail

getOperationCode

public OperationContext.OperationCode getOperationCode()
Return the operation associated with the OperationContext object.

Specified by:
getOperationCode in class OperationContext
Returns:
OperationCode.REGION_CREATE.

isPostOperation

public boolean isPostOperation()
True if the context is for post-operation.

Specified by:
isPostOperation in class OperationContext

GemFire 6.5.1

Copyright © 2002-2010 GemStone Systems, Inc. All Rights Reserved.