|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
KeyType
- Type of the key object for the map being queriedValueType
- Type of the value object for the map being queriedpublic interface ContinuousQueryListener<KeyType,ValueType>
This interface should be implemented to get a callback for a continuous query. When a Continuous Query listener is added to a Continuous Query Topic, that listener will be called after every change to the current set of results matching the continuous query.
Method Summary | |
---|---|
void |
cacheUpdated(ContinuousQueryNotificationEvent<KeyType,ValueType> event)
This method will be called by every ContinuousQueryTopic that this listener is added to. |
Method Detail |
---|
void cacheUpdated(ContinuousQueryNotificationEvent<KeyType,ValueType> event)
Throwable
s thrown from calls to this method and create an FFDC entry. This
ContinuousQueryListener
will not be called again for the same ContinuousQueryNotificationEvent
.
Additionally, the performance of this ContinuousQueryListener
may make an impact on the speed with which
other ContinuousQueryListener
s are called.
event
- - ContinuousQueryNotificationEvent
containing information about the change in the query result
setContinuousQueryTopic.addListener(ContinuousQueryListener)
,
ContinuousQueryNotificationEvent
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |