com.gemstone.gemfire.cache.operations
Class DestroyOperationContext
java.lang.Object
com.gemstone.gemfire.cache.operations.OperationContext
com.gemstone.gemfire.cache.operations.KeyOperationContext
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
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 operationpostOperation - true to set the post-operation flag
getOperationCode
public OperationContext.OperationCode getOperationCode()
- Return the operation associated with the
OperationContext
object.
- Specified by:
getOperationCode in class KeyOperationContext
- Returns:
OperationCode.DESTROY.
Copyright © 1997-2011 VMware, Inc. All rights reserved.