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)
Returns
QueryCacheConfig for the requested query cache with cacheName. |
QueryCacheConfig |
getOrNull(String mapName,
String cacheName)
Returns
QueryCacheConfig for the requested query cache with cacheName or null. |
void |
removeConfiguration(String mapName,
String cacheName)
Removes corresponding configuration for the supplied cache name.
|
setEntryListener, setPredicateImpl
public NodeQueryCacheConfigurator(Config config, ClassLoader configClassLoader, QueryCacheEventService eventService)
public QueryCacheConfig getOrCreateConfiguration(String mapName, String cacheName)
QueryCacheConfigurator
QueryCacheConfig
for the requested query cache with cacheName.mapName
- underlying IMap name for query cache.cacheName
- query cache name.QueryCacheConfig
for the requested #cacheName.public QueryCacheConfig getOrNull(String mapName, String cacheName)
QueryCacheConfigurator
QueryCacheConfig
for the requested query cache with cacheName or null.mapName
- underlying IMap name for query cache.cacheName
- query cache name.QueryCacheConfig
for the requested #cacheName.public void removeConfiguration(String mapName, String cacheName)
QueryCacheConfigurator
mapName
- underlying IMap name for query cache.cacheName
- query cache name.Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.