|
Oracle® Coherence Java API Reference v3.5.3 E15583-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.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
values| Method Detail |
|---|
public void entryInserted(MapEvent evt)
entryInserted in interface MapListenerevt - the MapEvent carrying the insert informationpublic void entryUpdated(MapEvent evt)
entryUpdated in interface MapListenerevt - the MapEvent carrying the update informationpublic void entryDeleted(MapEvent evt)
entryDeleted in interface MapListenerevt - 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 v3.5.3 E15583-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||