|
GemFire 6.0.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gemstone.gemfire.cache.operations.OperationContext
public abstract class OperationContext
Encapsulates a cache operation and the data associated with it for both the pre-operation and post-operation cases. Implementations for specific operations will extend this with the specifics as required e.g. a getKey() method for a GET operation. Implementations for all the cache operations that require authorization are provided. Implementations of this interface are not expected to be thread-safe.
| Nested Class Summary | |
|---|---|
static class |
OperationContext.OperationCode
Enumeration for various cache operations. |
| Constructor Summary | |
|---|---|
OperationContext()
|
|
| Method Summary | |
|---|---|
abstract OperationContext.OperationCode |
getOperationCode()
Return the operation code associated with the OperationContext
object. |
boolean |
isClientUpdate(OperationContext context)
True if the context is created before sending the updates to a client. |
abstract boolean |
isPostOperation()
True if the context is for post-operation. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OperationContext()
| Method Detail |
|---|
public abstract OperationContext.OperationCode getOperationCode()
OperationContext
object.
public abstract boolean isPostOperation()
OperationContext interface encapsulates the data both
before the operation is performed and after the operation is complete. For
example, for a query operation the Query object as well as
the list of region names referenced by the query would be part of the
context object in the pre-processing stage. In the post-processing stage
the context object shall contain results of the query.
public boolean isClientUpdate(OperationContext context)
|
GemFire 6.0.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||