Class DestroyOperationContext
java.lang.Object
org.apache.geode.cache.operations.OperationContext
org.apache.geode.cache.operations.KeyOperationContext
org.apache.geode.cache.operations.DestroyOperationContext
Deprecated.
Encapsulates a
OperationContext.OperationCode.DESTROY
region operation having the key object for both the pre-operation case and for post-operation
updates.- Since:
- GemFire 5.5
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.geode.cache.operations.OperationContext
OperationContext.OperationCode -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Constructor for the operation.DestroyOperationContext(Object key, boolean postOperation) Deprecated.Constructor for the operation to use for post-operation in updates. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Return the operation associated with theOperationContextobject.Methods inherited from class org.apache.geode.cache.operations.KeyOperationContext
getCallbackArg, getKey, isPostOperation, setCallbackArg, setPostOperationMethods inherited from class org.apache.geode.cache.operations.OperationContext
isClientUpdate, isClientUpdate
-
Constructor Details
-
DestroyOperationContext
Deprecated.Constructor for the operation.- Parameters:
key- the key for this operation
-
DestroyOperationContext
Deprecated.Constructor for the operation to use for post-operation in updates.- Parameters:
key- the key for this operationpostOperation- true to set the post-operation flag
-
-
Method Details
-
getOperationCode
Deprecated.Return the operation associated with theOperationContextobject.- Specified by:
getOperationCodein classKeyOperationContext- Returns:
OperationCode.DESTROY.
-
ResourcePermissioninstead