|
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 ContinuousQueryTopic<KeyType,ValueType>
A Continuous Query Topic embodies the client side view of a defined Continuous Query. The topic gives access to the client-side cached results of the continuous query and allows for management of Continuous Query Listeners for this topic.
Method Summary | |
---|---|
void |
addListener(ContinuousQueryListener<KeyType,ValueType> listener)
Add a Continuous Query Listener to this topic. |
Collection<ContinuousQueryListener<KeyType,ValueType>> |
getAllListeners()
Returns a shallow copy of the current set of listeners registered for this query topic. |
ContinuousQueryCache<KeyType,ValueType> |
getCache()
Return a continuous query cache object with methods to access the keys and values stored in the cache. |
String |
getName()
Returns the generated unique name for this continuous query. |
boolean |
isKeysOnlyCache()
Return true if the cache for this continuous query contains only keys. |
boolean |
isRawFormat()
Return true if this query will return keys/values in SerializedEntry format. |
boolean |
noCache()
Return true if the no caching option is enabled for this Continuous Query. |
void |
removeAllListeners()
Removes all registered listeners from this query topic. |
boolean |
removeListener(ContinuousQueryListener<KeyType,ValueType> listener)
Remove the listener from this continuous query's the set of listeners. |
Method Detail |
---|
void addListener(ContinuousQueryListener<KeyType,ValueType> listener)
listener
- the listener to add to this continuous query's set of listeners.boolean removeListener(ContinuousQueryListener<KeyType,ValueType> listener)
listener
- - the continuous query listener to remove.
ContinuousQueryCache<KeyType,ValueType> getCache()
String getName()
boolean isKeysOnlyCache()
boolean noCache()
boolean isRawFormat()
SerializedEntry
format.
Collection<ContinuousQueryListener<KeyType,ValueType>> getAllListeners()
void removeAllListeners()
|
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 |