public class QueryCacheEndToEndProvider<K,V> extends Object
QueryCache
sub-system. As a result of that construction, we can have a ready to use QueryCache
.Constructor and Description |
---|
QueryCacheEndToEndProvider(ContextMutexFactory mutexFactory) |
Modifier and Type | Method and Description |
---|---|
void |
destroyAllQueryCaches(String mapName) |
InternalQueryCache<K,V> |
getOrCreateQueryCache(String mapName,
String cacheName,
ConstructorFunction<String,InternalQueryCache<K,V>> constructor) |
int |
getQueryCacheCount(String mapName) |
void |
removeSingleQueryCache(String mapName,
String cacheName) |
InternalQueryCache<K,V> |
tryCreateQueryCache(String mapName,
String cacheName,
ConstructorFunction<String,InternalQueryCache<K,V>> constructor)
Idempotent query cache create mechanism.
|
public QueryCacheEndToEndProvider(ContextMutexFactory mutexFactory)
public InternalQueryCache<K,V> getOrCreateQueryCache(String mapName, String cacheName, ConstructorFunction<String,InternalQueryCache<K,V>> constructor)
public InternalQueryCache<K,V> tryCreateQueryCache(String mapName, String cacheName, ConstructorFunction<String,InternalQueryCache<K,V>> constructor)
public void destroyAllQueryCaches(String mapName)
public int getQueryCacheCount(String mapName)
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.