|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-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.MultiplexingMapListener
com.tangosol.net.cache.ContinuousQueryCache.EventRouter
protected class ContinuousQueryCache.EventRouter
An EventRouter routes events from the internal cache of the ContinuousQueryCache to the client listeners, and it can do so asynchronously when appropriate.
Constructor Summary | |
---|---|
ContinuousQueryCache.EventRouter(MapListener listener) Construct an EventRouter to route events from the internal cache of the ContinuousQueryCache to the client listeners. |
Method Summary | |
---|---|
boolean |
equals(Object o) Compare the EventRouter with another object to determine equality. |
int |
hashCode() Determine a hash value for the EventRouter object according to the general Object.hashCode() contract. |
protected void |
onMapEvent(MapEvent evt) Invoked when a map entry has been inserted, updated or deleted. |
String |
toString() Produce a human-readable description of this EventRouter. |
Methods inherited from class com.tangosol.util.MultiplexingMapListener |
---|
entryDeleted, entryInserted, entryUpdated |
Constructor Detail |
---|
public ContinuousQueryCache.EventRouter(MapListener listener)
listener
- a client listenerMethod Detail |
---|
protected void onMapEvent(MapEvent evt)
MapEvent.getId()
.onMapEvent
in class MultiplexingMapListener
evt
- the MapEvent carrying the insert, update or delete informationpublic int hashCode()
Object.hashCode()
contract.public boolean equals(Object o)
public String toString()
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |