public class ClientQueryCacheConfigurator extends AbstractQueryCacheConfigurator
QueryCacheConfigurator
.QueryCacheConfigurator
Constructor and Description |
---|
ClientQueryCacheConfigurator(ClientConfig clientConfig,
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 ClientQueryCacheConfigurator(ClientConfig clientConfig, 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 © 2021 Hazelcast, Inc.. All Rights Reserved.