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 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.
|
QueryCacheConfig getOrCreateConfiguration(String mapName, String cacheName)
QueryCacheConfig
for the requested query cache with 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 query cache with cacheName or null.mapName
- underlying IMap name for query cache.cacheName
- query cache name.QueryCacheConfig
for the requested #cacheName.Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.