|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-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.util.ConverterCollections.ConverterMapListener
public static class ConverterCollections.ConverterMapListener
A converter MapListener that converts events of the underlying MapListener for the underlying map.
Field Summary | |
---|---|
protected Converter |
m_convKey The Converter to view an underlying CacheEvent's key. |
protected Converter |
m_convVal The Converter to view an underlying CacheEvent's value. |
protected MapListener |
m_listener The underlying MapListener. |
protected ObservableMap |
m_map The converting Map the will be the source of converted events. |
Constructor Summary | |
---|---|
ConverterCollections.ConverterMapListener(ObservableMap map, MapListener listener, Converter convKey, Converter convVal) Constructor. |
Method Summary | |
---|---|
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. |
boolean |
equals(java.lang.Object o) Compare the ConverterMapListener with another object to determine equality. |
Converter |
getConverterKeyUp() Return the Converter used to view an underlying CacheEvent's key through. |
Converter |
getConverterValueUp() Return the Converter used to view an underlying CacheEvent's value through. |
MapListener |
getMapListener() Return the underlying MapListener. |
ObservableMap |
getObservableMap() Return the underlying ObservableMap. |
int |
hashCode() Determine a hash value for the WrapperSynchronousListener object according to the general Object.hashCode() contract. |
Field Detail |
---|
protected ObservableMap m_map
protected MapListener m_listener
protected Converter m_convKey
protected Converter m_convVal
Constructor Detail |
---|
public ConverterCollections.ConverterMapListener(ObservableMap map, MapListener listener, Converter convKey, Converter convVal)
map
- the Map that should be the source for converted eventslistener
- the underlying MapListenerconvKey
- the Converter to view the underlying MapEvent's keyconvVal
- the Converter to view the underlying MapEvent's valuesMethod 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 informationpublic int hashCode()
Object.hashCode()
contract.public boolean equals(java.lang.Object o)
public ObservableMap getObservableMap()
public MapListener getMapListener()
public Converter getConverterKeyUp()
public Converter getConverterValueUp()
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |