|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.Base
com.tangosol.net.cache.ReadWriteBackingMap.InternalMapListener
protected class ReadWriteBackingMap.InternalMapListener
A MapListener implementation that listens to the internal cache and routes those events to anyone listening to this ReadWriteBackingMap.
Constructor Summary | |
---|---|
protected |
ReadWriteBackingMap.InternalMapListener() |
Method Summary | |
---|---|
protected void |
dispatch(MapEvent evt) Dispatch the event to the corresponding listeners. |
void |
entryDeleted(MapEvent evt) Invoked when a map entry has been removed. |
void |
entryInserted(MapEvent evt) Invoked when a map entry has been inserted. |
void |
entryUpdated(MapEvent evt) Invoked when a map entry has been updated. |
protected void |
processDeletedEntry(java.lang.Object oKey, java.lang.Object oValueOld) Process an entry that is about to be removed from the internal cache. |
Constructor Detail |
---|
protected ReadWriteBackingMap.InternalMapListener()
Method Detail |
---|
public void entryInserted(MapEvent evt)
entryInserted
in interface MapListener
evt
- the MapEvent carrying the insert informationpublic void entryUpdated(MapEvent evt)
entryUpdated
in interface MapListener
evt
- the MapEvent carrying the update informationpublic void entryDeleted(MapEvent evt)
entryDeleted
in interface MapListener
evt
- the MapEvent carrying the delete informationprotected void processDeletedEntry(java.lang.Object oKey, java.lang.Object oValueOld)
If the entry is queued to be inserted or updated, then that must occur (be persisted) before we notify any listeners that it has been removed from the internal cache, otherwise (for example) if this server dies and it has the only copy of the pending update then the update will be lost!
oKey
- the keyoValueOld
- the old valueprotected void dispatch(MapEvent evt)
evt
- the MapEvent object
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |