public class InvalidateOperationContext extends KeyOperationContext
OperationContext.OperationCode.INVALIDATE
region operation having the key
object for both the pre-operation case and for post-operation updates.OperationContext.OperationCode
Constructor and Description |
---|
InvalidateOperationContext(Object key)
Constructor for the operation.
|
InvalidateOperationContext(Object key,
boolean isPostOperation)
Constructor for the operation to use for post-operation in updates.
|
Modifier and Type | Method and Description |
---|---|
OperationContext.OperationCode |
getOperationCode()
Return the operation associated with the
OperationContext
object. |
getCallbackArg, getKey, isPostOperation, setCallbackArg
isClientUpdate, isClientUpdate
public InvalidateOperationContext(Object key)
key
- the key for this operationpublic InvalidateOperationContext(Object key, boolean isPostOperation)
key
- the key for this operationisPostOperation
- true if the context is at the time of
sending updatespublic OperationContext.OperationCode getOperationCode()
OperationContext
object.getOperationCode
in class KeyOperationContext
OperationCode.INVALIDATE
.Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.