|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.util.EventObject
com.tangosol.util.MapEvent
com.tangosol.net.cache.CacheEvent
com.tangosol.util.ConverterCollections.ConverterCacheEvent
public static class ConverterCollections.ConverterCacheEvent
A Converter CacheEvent views an underlying CacheEvent through a set of key and value Converters.
| Field Summary | |
|---|---|
protected Converter |
m_convKey
The Converter to view the underlying CacheEvent's key. |
protected Converter |
m_convVal
The Converter to view the underlying CacheEvent's value. |
protected CacheEvent |
m_event
The underlying CacheEvent. |
| Fields inherited from class com.tangosol.net.cache.CacheEvent |
|---|
m_fSynthetic |
| Fields inherited from class com.tangosol.util.MapEvent |
|---|
ENTRY_DELETED, ENTRY_INSERTED, ENTRY_UPDATED, m_nId, m_oKey, m_oValueNew, m_oValueOld |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ConverterCollections.ConverterCacheEvent(ObservableMap map,
CacheEvent event,
Converter convKey,
Converter convVal)
Construct the ConverterCacheEvent. |
|
| Method Summary | |
|---|---|
Object |
getKey()
Return a key assosiated with this event. |
Object |
getNewValue()
Return a new value assosiated with this event. |
Object |
getOldValue()
Return an old value assosiated with this event. |
CacheEvent |
getOriginalEvent()
Return the underlying CacheEvent. |
| Methods inherited from class com.tangosol.net.cache.CacheEvent |
|---|
getDescription, isSynthetic |
| Methods inherited from class com.tangosol.util.MapEvent |
|---|
dispatch, dispatch, dispatch, getDescription, getId, getMap, toString |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Field Detail |
|---|
protected CacheEvent m_event
protected Converter m_convKey
protected Converter m_convVal
| Constructor Detail |
|---|
public ConverterCollections.ConverterCacheEvent(ObservableMap map,
CacheEvent event,
Converter convKey,
Converter convVal)
event - the underlying CacheEventmap - the new event's sourceconvKey - the Converter to view the underlying CacheEvent's keyconvVal - the Converter to view the underlying CacheEvent's values| Method Detail |
|---|
public Object getKey()
getKey in class MapEventpublic Object getOldValue()
The old value represents a value deleted from or updated in a map. It is always null for "insert" notifications.
getOldValue in class MapEventpublic Object getNewValue()
The new value represents a new value inserted into or updated in a map. It is always null for "delete" notifications.
getNewValue in class MapEventpublic CacheEvent getOriginalEvent()
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||