Class RemoveAllOperationContext
java.lang.Object
org.apache.geode.cache.operations.OperationContext
org.apache.geode.cache.operations.RemoveAllOperationContext
Deprecated.
Encapsulates a
OperationContext.OperationCode.REMOVEALL
operation for both the pre-operation and post-operation cases.- Since:
- GemFire 8.1
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.geode.cache.operations.OperationContext
OperationContext.OperationCode -
Constructor Summary
ConstructorsConstructorDescriptionRemoveAllOperationContext(Collection<?> keys) Deprecated.Constructor for the operation. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get the callback argument object for this operation.Collection<?>getKeys()Deprecated.Returns the keys for this removeAll in an unmodifiable collection.Deprecated.Return the operation associated with theOperationContextobject.booleanDeprecated.True if the context is for post-operation.voidsetCallbackArg(Object callbackArg) Deprecated.Set the callback argument object for this operation.protected voidDeprecated.Set the post-operation flag to true.Methods inherited from class org.apache.geode.cache.operations.OperationContext
isClientUpdate, isClientUpdate
-
Constructor Details
-
RemoveAllOperationContext
Deprecated.Constructor for the operation.- Parameters:
keys- the keys to remove
-
-
Method Details
-
getOperationCode
Deprecated.Return the operation associated with theOperationContextobject.- Specified by:
getOperationCodein classOperationContext- Returns:
OperationCode.RemoveAll.
-
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
protected void setPostOperation()Deprecated.Set the post-operation flag to true. -
getKeys
Deprecated.Returns the keys for this removeAll in an unmodifiable collection.- Returns:
- the keys for this removeAll in an unmodifiable collection
-
getCallbackArg
Deprecated.Get the callback argument object for this operation.- Returns:
- the callback argument object for this operation.
-
setCallbackArg
Deprecated.Set the callback argument object for this operation.- Parameters:
callbackArg- the callback argument object for this operation.
-
ResourcePermissioninstead