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