|
GemFire 6.6.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gemstone.gemfire.cache.operations.OperationContext
com.gemstone.gemfire.cache.operations.RegionOperationContext
public abstract class RegionOperationContext
Encapsulates a region-level operation in both the pre-operation and
post-operation cases. The operations this class encapsulates are
OperationContext.OperationCode.REGION_CLEAR
and OperationContext.OperationCode.REGION_DESTROY
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.gemstone.gemfire.cache.operations.OperationContext |
---|
OperationContext.OperationCode |
Constructor Summary | |
---|---|
RegionOperationContext(boolean postOperation)
Constructor for a region operation. |
Method Summary | |
---|---|
Object |
getCallbackArg()
Get the callback argument object for this operation. |
abstract OperationContext.OperationCode |
getOperationCode()
Return the operation associated with the OperationContext
object. |
boolean |
isPostOperation()
True if the context is for post-operation. |
void |
setCallbackArg(Object callbackArg)
Set the callback argument object for this operation. |
Methods inherited from class com.gemstone.gemfire.cache.operations.OperationContext |
---|
isClientUpdate, isClientUpdate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegionOperationContext(boolean postOperation)
postOperation
- true to set the post-operation flagMethod Detail |
---|
public abstract OperationContext.OperationCode getOperationCode()
OperationContext
object.
getOperationCode
in class OperationContext
OperationCode
of this operation. This is one of
OperationContext.OperationCode.REGION_CLEAR
or
OperationContext.OperationCode.REGION_DESTROY
.public boolean isPostOperation()
isPostOperation
in class OperationContext
public Object getCallbackArg()
public void setCallbackArg(Object callbackArg)
callbackArg
- the callback argument object for this operation.
|
GemFire 6.6.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |