Gemfire JavaDocs_test
Class RemoveAllOperationContext
- java.lang.Object
-
- org.apache.geode.cache.operations.OperationContext
-
- org.apache.geode.cache.operations.RemoveAllOperationContext
-
@Deprecated public class RemoveAllOperationContext extends OperationContext
Deprecated.since Geode1.0, useResourcePermission
insteadEncapsulates aOperationContext.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
Constructors Constructor Description RemoveAllOperationContext(java.util.Collection<?> keys)
Deprecated.Constructor for the operation.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Object
getCallbackArg()
Deprecated.Get the callback argument object for this operation.java.util.Collection<?>
getKeys()
Deprecated.Returns the keys for this removeAll in an unmodifiable collection.OperationContext.OperationCode
getOperationCode()
Deprecated.Return the operation associated with theOperationContext
object.boolean
isPostOperation()
Deprecated.True if the context is for post-operation.void
setCallbackArg(java.lang.Object callbackArg)
Deprecated.Set the callback argument object for this operation.protected void
setPostOperation()
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 theOperationContext
object.- Specified by:
getOperationCode
in classOperationContext
- Returns:
OperationCode.RemoveAll
.
-
isPostOperation
public boolean isPostOperation()
Deprecated.True if the context is for post-operation.- Specified by:
isPostOperation
in classOperationContext
- Returns:
- whether the context is for post-operation
-
setPostOperation
protected void setPostOperation()
Deprecated.Set the post-operation flag to true.
-
getKeys
public java.util.Collection<?> getKeys()
Deprecated.Returns the keys for this removeAll in an unmodifiable collection.- Returns:
- the keys for this removeAll in an unmodifiable collection
-
getCallbackArg
public java.lang.Object getCallbackArg()
Deprecated.Get the callback argument object for this operation.- Returns:
- the callback argument object for this operation.
-
setCallbackArg
public void setCallbackArg(java.lang.Object callbackArg)
Deprecated.Set the callback argument object for this operation.- Parameters:
callbackArg
- the callback argument object for this operation.
-
-