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
Returns the cache instance with the specified prefixed cache name.
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 this URI as a US-ASCII string. (uri.toASCIIString()
)
Classloader prefix is generated as string representation of the specified classloader. (cl.toString()
)getCache
in interface ICacheManager
name
- the prefixed name of the cache
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.