|
GemFire 5.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface EntryEvent
Contains information about an event affecting an entry, including
its identity and the the circumstances of the event.
It is passed in to CacheListener, CapacityController, and CacheWriter.
CacheListener,
CacheWriter,
RegionEvent| Field Summary |
|---|
| Fields inherited from interface com.gemstone.gemfire.cache.CacheEvent |
|---|
NOT_AVAILABLE |
| Method Summary | |
|---|---|
Object |
getKey()
Returns the key. |
Object |
getNewValue()
Returns the value in the cache after this event. |
Object |
getOldValue()
Returns the value in the cache prior to this event. |
SerializedCacheValue |
getSerializedNewValue()
Returns the serialized form of the value in the cache after this event. |
SerializedCacheValue |
getSerializedOldValue()
Returns the serialized form of the value in the cache before this event. |
TransactionId |
getTransactionId()
Gets the TransactionId for this EntryEvent. |
boolean |
isBridgeEvent()
Returns true if this event is a bridge event TODO get rid of this if possible |
boolean |
isLoad()
Deprecated. as of GemFire 5.0, use Operation.isLoad() instead. |
boolean |
isLocalLoad()
Deprecated. as of GemFire 5.0, use Operation.isLocalLoad() instead. |
boolean |
isNetLoad()
Deprecated. as of GemFire 5.0, use Operation.isNetLoad() instead. |
boolean |
isNetSearch()
Deprecated. as of GemFire 5.0, use Operation.isNetSearch() instead. |
| Methods inherited from interface com.gemstone.gemfire.cache.CacheEvent |
|---|
getCallbackArgument, getDistributedMember, getOperation, getRegion, isDistributed, isExpiration, isOriginRemote |
| Method Detail |
|---|
Object getKey()
Object getOldValue()
NOT_AVAILABLE is returned.
This can happen for disk regions when the old value is on disk only.
CacheEvent.NOT_AVAILABLE.
If the entry did not exist or was invalid, then null is returned.SerializedCacheValue getSerializedOldValue()
Object getNewValue()
SerializedCacheValue getSerializedNewValue()
boolean isLocalLoad()
Operation.isLocalLoad() instead.
netSearch.
boolean isNetLoad()
Operation.isNetLoad() instead.
isOriginRemote will also return true.
boolean isLoad()
Operation.isLoad() instead.
boolean isNetSearch()
Operation.isNetSearch() instead.
netSearch. If the netSearch
was invoked by a loader however, this will return false and isLocalLoad()
or isNetLoad() will return true instead.
TransactionId getTransactionId()
boolean isBridgeEvent()
|
GemFire 5.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||