GemFire 6.5

com.gemstone.gemfire.cache.operations
Class DestroyOperationContext

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

public class DestroyOperationContext
extends KeyOperationContext

Encapsulates a OperationContext.OperationCode.DESTROY region operation having the key object for both the pre-operation case and for post-operation updates.

Since:
5.5

Nested Class Summary
 
Nested classes/interfaces inherited from class com.gemstone.gemfire.cache.operations.OperationContext
OperationContext.OperationCode
 
Constructor Summary
DestroyOperationContext(Object key)
          Constructor for the operation.
DestroyOperationContext(Object key, boolean postOperation)
          Constructor for the operation to use for post-operation in updates.
 
Method Summary
 OperationContext.OperationCode getOperationCode()
          Return the operation associated with the OperationContext object.
 
Methods inherited from class com.gemstone.gemfire.cache.operations.KeyOperationContext
getCallbackArg, getKey, 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

DestroyOperationContext

public DestroyOperationContext(Object key)
Constructor for the operation.

Parameters:
key - the key for this operation

DestroyOperationContext

public DestroyOperationContext(Object key,
                               boolean postOperation)
Constructor for the operation to use for post-operation in updates.

Parameters:
key - the key for this operation
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 KeyOperationContext
Returns:
OperationCode.DESTROY.

GemFire 6.5

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