public class QueryCacheToListenerMapper extends Object
Modifier and Type | Method and Description |
---|---|
String |
addListener(String cacheId,
ListenerAdapter listenerAdapter,
EventFilter filter) |
boolean |
hasAnyQueryCacheRegistered() |
boolean |
hasListener(String cacheId) |
void |
removeAllListeners(String cacheId)
Removes all associated listener info for the cache represented with the supplied
cacheId |
boolean |
removeListener(String cacheId,
String listenerId) |
public String addListener(String cacheId, ListenerAdapter listenerAdapter, EventFilter filter)
public void removeAllListeners(String cacheId)
cacheId
cacheId
- id of the cachepublic boolean hasListener(String cacheId)
true
if this class contains any registered
listener for the cache represented with the supplied cacheId
else returns false
public boolean hasAnyQueryCacheRegistered()
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.