public interface NearCacheManager
NearCacheManager is the contract point to manage all existing
 NearCache instances.| Modifier and Type | Method and Description | 
|---|---|
| void | clearAllNearCaches()Clears all defined  NearCacheinstances. | 
| boolean | clearNearCache(String name)Clears  NearCacheinstance associated with givennamebut not removes it. | 
| void | destroyAllNearCaches()Destroys all defined  NearCacheinstances. | 
| boolean | destroyNearCache(String name)Destroys  NearCacheinstance associated with givennameand also removes it. | 
| <K,V> NearCache<K,V> | getNearCache(String name)Gets the  NearCacheinstance
 associated with givenname. | 
| <K,V> NearCache<K,V> | getOrCreateNearCache(String name,
                    NearCacheConfig nearCacheConfig,
                    NearCacheContext nearCacheContext)Creates a new  NearCachewith given configurations
 or returns existing one. | 
| Collection<NearCache> | listAllNearCaches()Lists all existing  NearCacheinstances. | 
<K,V> NearCache<K,V> getNearCache(String name)
NearCache instance
 associated with given name.<K,V> NearCache<K,V> getOrCreateNearCache(String name, NearCacheConfig nearCacheConfig, NearCacheContext nearCacheContext)
NearCache with given configurations
 or returns existing one.K - the key type of the NearCacheV - the value type of the NearCachename - the name of the NearCache
                          to be created or existing onenearCacheConfig - the NearCacheConfig of the
                          NearCache to be creatednearCacheContext - the NearCacheContext of the
                          NearCache to be createdNearCache instance
         associated with given nameCollection<NearCache> listAllNearCaches()
NearCache instances.NearCache instancesboolean clearNearCache(String name)
NearCache instance associated with given name
 but not removes it.void clearAllNearCaches()
NearCache instances.boolean destroyNearCache(String name)
NearCache instance associated with given name
 and also removes it.void destroyAllNearCaches()
NearCache instances.Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.