public class KeySetOperationContext extends OperationContext
OperationContext.OperationCode.KEY_SET operation for both the
pre-operation and post-operation cases.OperationContext.OperationCode| Constructor and Description |
|---|
KeySetOperationContext(boolean postOperation)
Constructor for the operation.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Set |
getKeySet()
Get the set of keys returned as a result of
Region.keySet()
operation. |
OperationContext.OperationCode |
getOperationCode()
Return the operation associated with the
OperationContext
object. |
boolean |
isPostOperation()
True if the context is for post-operation.
|
void |
setKeySet(java.util.Set keySet)
Set the keys to be returned as the result of
Region.keySet()
operation. |
void |
setPostOperation()
Set the post-operation flag to true.
|
isClientUpdate, isClientUpdatepublic KeySetOperationContext(boolean postOperation)
postOperation - true to set the post-operation flagpublic OperationContext.OperationCode getOperationCode()
OperationContext
object.getOperationCode in class OperationContextOperationCode.KEY_SET.public boolean isPostOperation()
isPostOperation in class OperationContextpublic void setPostOperation()
public java.util.Set getKeySet()
Region.keySet()
operation.public void setKeySet(java.util.Set keySet)
Region.keySet()
operation.keySet - the set of keys to be returned for this operation.