public class ClientICacheManager extends Object implements ICacheManager
CacheManager.ICacheManager| Modifier and Type | Method and Description |
|---|---|
<K,V> ICache<K,V> |
getCache(String name)
Returns the cache instance with the specified prefixed cache name.
|
<K,V> ICache<K,V> |
getCacheByFullName(String fullName) |
public <K,V> ICache<K,V> getCache(String name)
ICacheManager
Prefixed cache name is the name with URI and classloader prefixes, if available.
There is no Hazelcast prefix (/hz/). For example, myURI/foo.
<prefixed_cache_name> = [<uri_prefix>/] + [<cl_prefix>/] + <pure_cache_name>
where <pure_cache_name> is the cache name without any prefix. For example foo.
As seen from the definition, URI and classloader prefixes are optional.
URI prefix is generated as content of the URI as a US-ASCII string: (uri.toASCIIString()).
Classloader prefix is generated as a string representation of the specified classloader: (cl.toString())
getCache in interface ICacheManagername - the prefixed name of the cacheCacheUtil.getPrefixedCacheName(String, java.net.URI, ClassLoader)Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.