Gemfire JavaDocs_test
Class RegionOperationContext
- java.lang.Object
-
- org.apache.geode.cache.operations.OperationContext
-
- org.apache.geode.cache.operations.RegionOperationContext
-
- Direct Known Subclasses:
RegionClearOperationContext
,RegionDestroyOperationContext
@Deprecated public abstract class RegionOperationContext extends OperationContext
Deprecated.since Geode1.0, useResourcePermission
insteadEncapsulates a region-level operation in both the pre-operation and post-operation cases. The operations this class encapsulates areOperationContext.OperationCode.REGION_CLEAR
andOperationContext.OperationCode.REGION_DESTROY
.- 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 RegionOperationContext(boolean postOperation)
Deprecated.Constructor for a region operation.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Object
getCallbackArg()
Deprecated.Get the callback argument object for this operation.abstract 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.-
Methods inherited from class org.apache.geode.cache.operations.OperationContext
isClientUpdate, isClientUpdate
-
-
-
-
Method Detail
-
getOperationCode
public abstract OperationContext.OperationCode getOperationCode()
Deprecated.Return the operation associated with theOperationContext
object.- Specified by:
getOperationCode
in classOperationContext
- Returns:
- The
OperationCode
of this operation. This is one ofOperationContext.OperationCode.REGION_CLEAR
orOperationContext.OperationCode.REGION_DESTROY
.
-
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
-
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.
-
-