Class KeySetOperationContext
java.lang.Object
org.apache.geode.cache.operations.OperationContext
org.apache.geode.cache.operations.KeySetOperationContext
Deprecated.
Encapsulates a
OperationContext.OperationCode.KEY_SET
operation for both the pre-operation and post-operation cases.- Since:
- GemFire 5.5
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.geode.cache.operations.OperationContext
OperationContext.OperationCode -
Constructor Summary
ConstructorsConstructorDescriptionKeySetOperationContext(boolean postOperation) Deprecated.Constructor for the operation. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get the set of keys returned as a result ofRegion.keySet()operation.Deprecated.Return the operation associated with theOperationContextobject.booleanDeprecated.True if the context is for post-operation.voidDeprecated.Set the keys to be returned as the result ofRegion.keySet()operation.voidDeprecated.Set the post-operation flag to true.Methods inherited from class org.apache.geode.cache.operations.OperationContext
isClientUpdate, isClientUpdate
-
Constructor Details
-
KeySetOperationContext
public KeySetOperationContext(boolean postOperation) Deprecated.Constructor for the operation.- Parameters:
postOperation- true to set the post-operation flag
-
-
Method Details
-
getOperationCode
Deprecated.Return the operation associated with theOperationContextobject.- Specified by:
getOperationCodein classOperationContext- Returns:
OperationCode.KEY_SET.
-
isPostOperation
public boolean isPostOperation()Deprecated.True if the context is for post-operation.- Specified by:
isPostOperationin classOperationContext- Returns:
- whether the context is for post-operation
-
setPostOperation
public void setPostOperation()Deprecated.Set the post-operation flag to true. -
getKeySet
Deprecated.Get the set of keys returned as a result ofRegion.keySet()operation.- Returns:
- the set of keys
-
setKeySet
Deprecated.Set the keys to be returned as the result ofRegion.keySet()operation.- Parameters:
keySet- the set of keys to be returned for this operation.
-
ResourcePermissioninstead