public class NodeQueryCacheConfigurator extends AbstractQueryCacheConfigurator
QueryCacheConfigurator
.QueryCacheConfigurator
Constructor and Description |
---|
NodeQueryCacheConfigurator(Config config,
ClassLoader configClassLoader,
QueryCacheEventService eventService) |
Modifier and Type | Method and Description |
---|---|
QueryCacheConfig |
getOrCreateConfiguration(String mapName,
String cacheName,
String cacheId)
Returns
QueryCacheConfig for the requested cacheName |
QueryCacheConfig |
getOrNull(String mapName,
String cacheName,
String cacheId)
Returns
QueryCacheConfig for the requested cacheName or null |
void |
removeConfiguration(String mapName,
String cacheName)
Removes corresponding configuration for the supplied
cacheName |
setEntryListener, setPredicateImpl
public NodeQueryCacheConfigurator(Config config, ClassLoader configClassLoader, QueryCacheEventService eventService)
public QueryCacheConfig getOrCreateConfiguration(String mapName, String cacheName, String cacheId)
QueryCacheConfigurator
QueryCacheConfig
for the requested cacheName
mapName
- underlying IMap name for query cache.cacheName
- query cache name.QueryCacheConfig
for the requested cacheName
.public QueryCacheConfig getOrNull(String mapName, String cacheName, String cacheId)
QueryCacheConfigurator
QueryCacheConfig
for the requested cacheName
or nullmapName
- underlying IMap name for query cache.cacheName
- query cache name.QueryCacheConfig
for the requested cacheName
.public void removeConfiguration(String mapName, String cacheName)
QueryCacheConfigurator
cacheName
mapName
- underlying IMap name for query cache.cacheName
- query cache name.Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.