public interface BasicCacheContainer extends Lifecycle
BasicCache
.
Modifier and Type | Method and Description |
---|---|
<K,V> BasicCache<K,V> |
getCache()
Retrieves the default cache associated with this cache container.
|
<K,V> BasicCache<K,V> |
getCache(String cacheName)
Retrieves a cache by name.
|
Set<String> |
getCacheNames()
This method returns a collection of all cache names.
|
<K,V> BasicCache<K,V> getCache()
CacheConfigurationException
- if a default cache does not exist.<K,V> BasicCache<K,V> getCache(String cacheName)
cacheName
- name of cache to retrieveSet<String> getCacheNames()
Copyright © 2021 JBoss by Red Hat. All rights reserved.