|
GemFire 5.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CacheEvent
A region- or entry-related event affecting the cache.
CacheListener| Field Summary | |
|---|---|
static Object |
NOT_AVAILABLE
Constant used to indicate that a value not available One case this is used is when a value would be too expensive to obtain (an example being old values on a entry that have been written to disk). |
| Method Summary | |
|---|---|
Object |
getCallbackArgument()
Returns the callbackArgument passed to the method that generated this event. |
DistributedMember |
getDistributedMember()
Returns the DistributedMember that this event originated in. |
Operation |
getOperation()
Return a description of the operation that triggered this event. |
Region |
getRegion()
Returns the region to which this cached object belongs or the region that raised this event for RegionEvents. |
boolean |
isDistributed()
Deprecated. as of GemFire 5.0, use Operation.isDistributed() instead. |
boolean |
isExpiration()
Deprecated. as of GemFire 5.0, use Operation.isExpiration() instead. |
boolean |
isOriginRemote()
Answer true if this event originated in a cache other than this one. |
| Field Detail |
|---|
static final Object NOT_AVAILABLE
getCallbackArgument(),
EntryEvent.getOldValue(),
EntryEvent.getNewValue()| Method Detail |
|---|
Region getRegion()
RegionEvents.
Operation getOperation()
Object getCallbackArgument()
Region interface methods that take a
callbackArgument parameter.
NOT_AVAILABLE is returned if the callback argument is not propagated to the event. This happens for events given to TransactionListener and to CacheListener on the remote side of a transaction commit.boolean isOriginRemote()
DistributedMember getDistributedMember()
DistributedMember that this event originated in.
boolean isExpiration()
Operation.isExpiration() instead.
boolean isDistributed()
Operation.isDistributed() instead.
|
GemFire 5.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||