public interface HazelcastCacheManager
extends javax.cache.CacheManager
CacheManager
.CacheManager
Modifier and Type | Field and Description |
---|---|
static String |
CACHE_MANAGER_PREFIX
Hazelcast's
CacheManager 's prefix to be appended to the head of the cache name. |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroys cache manager.
|
String |
getCacheNameWithPrefix(String name)
Gets cache name by adding manager prefix.
|
HazelcastInstance |
getHazelcastInstance()
Gets the underlying
HazelcastInstance implementation. |
void |
removeCache(String cacheName,
boolean destroy)
Removes associated cache with the given cache name.
|
static final String CACHE_MANAGER_PREFIX
CacheManager
's prefix to be appended to the head of the cache name.String getCacheNameWithPrefix(String name)
name
- pure cache name without prefixHazelcastInstance getHazelcastInstance()
HazelcastInstance
implementation.HazelcastInstance
implementationvoid removeCache(String cacheName, boolean destroy)
cacheName
- pure cache name without prefixdestroy
- flag to specify whether removed cache will be destroyedvoid destroy()
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.