VMware GemFire Java API Reference
Class KeySetOperationContext
- java.lang.Object
-
- org.apache.geode.cache.operations.OperationContext
-
- org.apache.geode.cache.operations.KeySetOperationContext
-
@Deprecated public class KeySetOperationContext extends OperationContext
Deprecated.since Geode1.0, useResourcePermissioninsteadEncapsulates aOperationContext.OperationCode.KEY_SEToperation 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
Constructors Constructor Description KeySetOperationContext(boolean postOperation)Deprecated.Constructor for the operation.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.SetgetKeySet()Deprecated.Get the set of keys returned as a result ofRegion.keySet()operation.OperationContext.OperationCodegetOperationCode()Deprecated.Return the operation associated with theOperationContextobject.booleanisPostOperation()Deprecated.True if the context is for post-operation.voidsetKeySet(java.util.Set keySet)Deprecated.Set the keys to be returned as the result ofRegion.keySet()operation.voidsetPostOperation()Deprecated.Set the post-operation flag to true.-
Methods inherited from class org.apache.geode.cache.operations.OperationContext
isClientUpdate, isClientUpdate
-
-
-
-
Method Detail
-
getOperationCode
public OperationContext.OperationCode 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
public java.util.Set getKeySet()
Deprecated.Get the set of keys returned as a result ofRegion.keySet()operation.- Returns:
- the set of keys
-
setKeySet
public void setKeySet(java.util.Set keySet)
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.
-
-