com.gemstone.gemfire.cache.operations
Class InvalidateOperationContext
java.lang.Object
com.gemstone.gemfire.cache.operations.OperationContext
com.gemstone.gemfire.cache.operations.KeyOperationContext
com.gemstone.gemfire.cache.operations.InvalidateOperationContext
public class InvalidateOperationContext
- extends KeyOperationContext
Encapsulates a OperationContext.OperationCode.INVALIDATE region operation having the key
object for both the pre-operation case and for post-operation updates.
- Since:
- 5.5
InvalidateOperationContext
public InvalidateOperationContext(Object key)
- Constructor for the operation.
- Parameters:
key - the key for this operation
InvalidateOperationContext
public InvalidateOperationContext(Object key,
boolean isPostOperation)
- Constructor for the operation to use for post-operation in updates.
- Parameters:
key - the key for this operationisPostOperation - true if the context is at the time of
sending updates
getOperationCode
public OperationContext.OperationCode getOperationCode()
- Return the operation associated with the
OperationContext
object.
- Specified by:
getOperationCode in class KeyOperationContext
- Returns:
OperationCode.INVALIDATE.
Copyright © 2002-2010 GemStone Systems, Inc. All Rights Reserved.