public interface QueryCacheConfigurator
QueryCacheConfig
supplier abstraction.
Helps to provide different implementations on node or client subscriber sides.Modifier and Type | Method and Description |
---|---|
QueryCacheConfig |
getOrCreateConfiguration(String mapName,
String cacheName)
Returns
QueryCacheConfig for the requested cacheName |
QueryCacheConfig |
getOrNull(String mapName,
String cacheName)
Returns
QueryCacheConfig for the requested cacheName or null |
void |
removeConfiguration(String mapName,
String cacheName)
Removes corresponding configuration for the supplied
cacheName |
QueryCacheConfig getOrCreateConfiguration(String mapName, String cacheName)
QueryCacheConfig
for the requested cacheName
mapName
- underlying IMap name for query cache.cacheName
- query cache name.QueryCacheConfig
for the requested cacheName
.QueryCacheConfig getOrNull(String mapName, String cacheName)
QueryCacheConfig
for the requested cacheName
or nullmapName
- underlying IMap name for query cache.cacheName
- query cache name.QueryCacheConfig
for the requested cacheName
.Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.