|
GemFire 5.5 | ||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||
OperationContext interface that encapsulates
an operation and the data associated with it for both the pre-operation
and post-operation cases.
See:
Description
| Class Summary | |
|---|---|
| CloseCQOperationContext | Encapsulates a OperationContext.OperationCode.CLOSE_CQ operation for the pre-operation
case. |
| ContainsKeyOperationContext | Encapsulates a OperationContext.OperationCode.CONTAINS_KEY region operation having the
key object for the pre-operation case. |
| DestroyOperationContext | Encapsulates a OperationContext.OperationCode.DESTROY region operation having the key
object for both the pre-operation case and for post-operation updates. |
| ExecuteCQOperationContext | Encapsulates a continuous query registeration operation for both the pre-operation and post-operation cases. |
| GetOperationContext | Encapsulates a OperationContext.OperationCode.GET region operation having the key
object for the pre-operation case and both key, value objects for the
post-operation case. |
| InterestType | Enumeration for various interest types supported by GemFire. |
| InvalidateOperationContext | Encapsulates a OperationContext.OperationCode.INVALIDATE region operation having the key
object for both the pre-operation case and for post-operation updates. |
| KeySetOperationContext | Encapsulates a OperationContext.OperationCode.KEY_SET operation for both the
pre-operation and post-operation cases. |
| OperationContext | Encapsulates a cache operation and the data associated with it for both the pre-operation and post-operation cases. |
| OperationContext.OperationCode | Enumeration for various cache operations. |
| PutOperationContext | Encapsulates an OperationContext.OperationCode.PUT region operation having both key
and value objects for for both the pre-operation case and for post-operation
updates. |
| QueryOperationContext | Encapsulates a cache query operation for both the pre-operation and post-operation cases. |
| RegionClearOperationContext | Encapsulates a OperationContext.OperationCode.REGION_CLEAR operation for both the
pre-operation and post-operation cases. |
| RegionCreateOperationContext | Encapsulates a OperationContext.OperationCode.REGION_CREATE operation for both the
pre-operation and post-operation cases. |
| RegionDestroyOperationContext | Encapsulates a OperationContext.OperationCode.REGION_DESTROY operation for both the
pre-operation and post-operation cases. |
| RegisterInterestOperationContext | Encapsulates a OperationContext.OperationCode.REGISTER_INTEREST region operation for
the pre-operation case. |
| StopCQOperationContext | Encapsulates a OperationContext.OperationCode.STOP_CQ operation for the pre-operation
case. |
| UnregisterInterestOperationContext | Encapsulates a OperationContext.OperationCode.REGISTER_INTEREST region operation for
the pre-operation case. |
Contains the OperationContext interface that encapsulates
an operation and the data associated with it for both the pre-operation
and post-operation cases.
Also contains implementations of the OperationContext interface
for the various kinds of cache operations. These include:
KeyOperationContext: this is an implementation for operations
that require a key for the operation. It provides a getKey
method to obtain the key. Also provided are setCallbackArg and
getCallbackArg methods that can be used to set/get an optional
callback argument.
The operations returned as KeyOperationContext are
OperationContext.OperationCode.DESTROY and
OperationContext.OperationCode.CONTAINS_KEY.
KeyValueOperationContext: this is an implementation for operations
that require both key and value for the operation. It extends the
KeyOperationContext interface providing getValue
and setValue methods in addition to those provided by the
KeyOperationContext class.
The operations returned as KeyValueOperationContext are
OperationContext.OperationCode.GET and
OperationContext.OperationCode.PUT.
For the GET operation this is used to both the pre and post operation cases.
InterestOperationContext: this is an implementation for register
and unregister of interest in a region. It defines a sub-class
InterestType that encapsulates the different
kinds of interest viz. KEY, LIST, REGULAR_EXPRESSION, FILTER_CLASS and OQL_QUERY.
It provides getInterestType method to get the interest type,
getInterestResultPolicy method to get the InterestResultPolicy
of the request, isUnregister method that returns true if this
is an unregister operation, and getKey/setKey methods to get/set
the key being registered. The key may be a single key, a list of keys, or
a regular expression string or an OQL Query.
QueryOperationContext: this is an implementation for a cache query operation
for both the pre and post operation cases. It provides getQuery to get
the query string as well as a modifyQuery method to be able to modify it.
A utility getRegionNames method is also provided to obtain the list
of regions as referenced by the query string. For the results in the
post operation phase, getQueryResult allows to get the result and
setQueryResult allows modification of the result.
RegionOperationContext: this encapsulates the region level operation
for the pre operation case. It provides getCallbackArg and
setCallbackArg methods to get/set the optionally callback argument.
The operations returned as RegionOperationContext are
OperationContext.OperationCode.REGION_CLEAR and
OperationContext.OperationCode.REGION_DESTROY.
|
GemFire 5.5 | ||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||