GemFire 5.8

com.gemstone.gemfire.cache.operations
Class RegionClearOperationContext

java.lang.Object
  extended by com.gemstone.gemfire.cache.operations.OperationContext
      extended by com.gemstone.gemfire.internal.cache.operations.RegionOperationContext
          extended by com.gemstone.gemfire.cache.operations.RegionClearOperationContext

public class RegionClearOperationContext
extends com.gemstone.gemfire.internal.cache.operations.RegionOperationContext

Encapsulates a OperationContext.OperationCode.REGION_CLEAR 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
RegionClearOperationContext(boolean postOperation)
          Default constructor for the region operation.
 
Method Summary
 OperationContext.OperationCode getOperationCode()
          Return the operation associated with the OperationContext object.
 
Methods inherited from class com.gemstone.gemfire.internal.cache.operations.RegionOperationContext
getCallbackArg, isPostOperation, setCallbackArg
 
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

RegionClearOperationContext

public RegionClearOperationContext(boolean postOperation)
Default constructor for the region 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 com.gemstone.gemfire.internal.cache.operations.RegionOperationContext
Returns:
OperationCode.REGION_CLEAR.

GemFire 5.8

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