Gemfire JavaDocs
Class DestroyOperationContext
- java.lang.Object
-
- org.apache.geode.cache.operations.OperationContext
-
- org.apache.geode.cache.operations.KeyOperationContext
-
- org.apache.geode.cache.operations.DestroyOperationContext
-
@Deprecated public class DestroyOperationContext extends KeyOperationContext
Deprecated.since Geode1.0, useResourcePermission
insteadEncapsulates aOperationContext.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
Constructors Constructor Description DestroyOperationContext(java.lang.Object key)
Deprecated.Constructor for the operation.DestroyOperationContext(java.lang.Object key, boolean postOperation)
Deprecated.Constructor for the operation to use for post-operation in updates.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description OperationContext.OperationCode
getOperationCode()
Deprecated.Return the operation associated with theOperationContext
object.-
Methods inherited from class org.apache.geode.cache.operations.KeyOperationContext
getCallbackArg, getKey, isPostOperation, setCallbackArg, setPostOperation
-
Methods inherited from class org.apache.geode.cache.operations.OperationContext
isClientUpdate, isClientUpdate
-
-
-
-
Constructor Detail
-
DestroyOperationContext
public DestroyOperationContext(java.lang.Object key)
Deprecated.Constructor for the operation.- Parameters:
key
- the key for this operation
-
DestroyOperationContext
public DestroyOperationContext(java.lang.Object key, boolean postOperation)
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 Detail
-
getOperationCode
public OperationContext.OperationCode getOperationCode()
Deprecated.Return the operation associated with theOperationContext
object.- Specified by:
getOperationCode
in classKeyOperationContext
- Returns:
OperationCode.DESTROY
.
-
-