public final class CacheUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getPrefix(URI uri,
ClassLoader classLoader)
Gets the prefix of cache name without Hazelcast's
CacheManager
specific prefix HazelcastCacheManager.CACHE_MANAGER_PREFIX. |
static String |
getPrefixedCacheName(String name,
URI uri,
ClassLoader classLoader)
Gets the cache name with prefix but without Hazelcast's
CacheManager
specific prefix HazelcastCacheManager.CACHE_MANAGER_PREFIX. |
public static String getPrefix(URI uri, ClassLoader classLoader)
CacheManager
specific prefix HazelcastCacheManager.CACHE_MANAGER_PREFIX.uri - an implementation specific URI for the
Hazelcast's CacheManager (null means use
Hazelcast's CachingProvider.getDefaultURI())classLoader - the ClassLoader to use for the
Hazelcast's CacheManager (null means use
Hazelcast's CachingProvider.getDefaultClassLoader())CacheManager
specific prefix HazelcastCacheManager.CACHE_MANAGER_PREFIXpublic static String getPrefixedCacheName(String name, URI uri, ClassLoader classLoader)
CacheManager
specific prefix HazelcastCacheManager.CACHE_MANAGER_PREFIX.name - the simple name of the cache without any prefixuri - an implementation specific URI for the
Hazelcast's CacheManager (null means use
Hazelcast's CachingProvider.getDefaultURI())classLoader - the ClassLoader to use for the
Hazelcast's CacheManager (null means use
Hazelcast's CachingProvider.getDefaultClassLoader())CacheManager
specific prefix HazelcastCacheManager.CACHE_MANAGER_PREFIX.Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.