public final class HazelcastClientCacheManager extends AbstractHazelcastCacheManager
cacheNamePrefix, caches, cachingProvider, classLoaderReference, hazelcastInstance, isDefaultClassLoader, isDefaultURI, properties, uri
Constructor and Description |
---|
HazelcastClientCacheManager(HazelcastClientCachingProvider cachingProvider,
HazelcastInstance hazelcastInstance,
URI uri,
ClassLoader classLoader,
Properties properties) |
Modifier and Type | Method and Description |
---|---|
protected <K,V> void |
addCacheConfigIfAbsent(CacheConfig<K,V> cacheConfig) |
protected <K,V> ICacheInternal<K,V> |
createCacheProxy(CacheConfig<K,V> cacheConfig) |
protected <K,V> CacheConfig<K,V> |
createConfig(String cacheName,
CacheConfig<K,V> config,
boolean createAlsoOnOthers,
boolean syncCreate) |
protected <K,V> CacheConfig<K,V> |
createConfigOnPartition(CacheConfig<K,V> cacheConfig) |
void |
enableManagement(String cacheName,
boolean enabled) |
void |
enableStatistics(String cacheName,
boolean enabled) |
protected <K,V> CacheConfig<K,V> |
findConfig(String cacheName,
String simpleCacheName,
boolean createAlsoOnOthers,
boolean syncCreate) |
protected <K,V> CacheConfig<K,V> |
getCacheConfigFromPartition(String cacheName,
String simpleCacheName) |
protected <K,V> CacheConfig<K,V> |
getCacheConfigLocal(String cacheName) |
NearCacheManager |
getNearCacheManager()
Gets the related
NearCacheManager with the underlying client instance. |
protected void |
postClose() |
protected void |
removeCacheConfigFromLocal(String cacheName)
Removes the local copy of the cache configuration if one exists.
|
<T> T |
unwrap(Class<T> clazz) |
cacheNamePrefix, checkIfManagerNotClosed, close, createCache, createCacheConfig, destroy, destroyCache, ensureOpenIfAvailable, getCache, getCache, getCacheNames, getCacheNameWithPrefix, getCacheUnchecked, getCachingProvider, getClassLoader, getHazelcastInstance, getOrCreateCache, getProperties, getURI, isClosed, registerListeners, toString
public HazelcastClientCacheManager(HazelcastClientCachingProvider cachingProvider, HazelcastInstance hazelcastInstance, URI uri, ClassLoader classLoader, Properties properties)
public void enableManagement(String cacheName, boolean enabled)
public void enableStatistics(String cacheName, boolean enabled)
protected <K,V> CacheConfig<K,V> getCacheConfigLocal(String cacheName)
getCacheConfigLocal
in class AbstractHazelcastCacheManager
protected <K,V> void addCacheConfigIfAbsent(CacheConfig<K,V> cacheConfig)
addCacheConfigIfAbsent
in class AbstractHazelcastCacheManager
protected void removeCacheConfigFromLocal(String cacheName)
AbstractHazelcastCacheManager
removeCacheConfigFromLocal
in class AbstractHazelcastCacheManager
cacheName
- cache name.protected <K,V> CacheConfig<K,V> getCacheConfigFromPartition(String cacheName, String simpleCacheName)
getCacheConfigFromPartition
in class AbstractHazelcastCacheManager
protected <K,V> CacheConfig<K,V> createConfigOnPartition(CacheConfig<K,V> cacheConfig)
createConfigOnPartition
in class AbstractHazelcastCacheManager
protected <K,V> ICacheInternal<K,V> createCacheProxy(CacheConfig<K,V> cacheConfig)
createCacheProxy
in class AbstractHazelcastCacheManager
protected <K,V> CacheConfig<K,V> findConfig(String cacheName, String simpleCacheName, boolean createAlsoOnOthers, boolean syncCreate)
findConfig
in class AbstractHazelcastCacheManager
protected <K,V> CacheConfig<K,V> createConfig(String cacheName, CacheConfig<K,V> config, boolean createAlsoOnOthers, boolean syncCreate)
createConfig
in class AbstractHazelcastCacheManager
public <T> T unwrap(Class<T> clazz)
protected void postClose()
postClose
in class AbstractHazelcastCacheManager
public NearCacheManager getNearCacheManager()
NearCacheManager
with the underlying client instance.NearCacheManager
with the underlying client instanceCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.