public interface CacheManager
Allows for retrieving named Cache
regions.
Modifier and Type | Method and Description |
---|---|
Cache |
getCache(String name)
Get the cache associated with the given name.
|
Collection<String> |
getCacheNames()
Get a collection of the cache names known by this manager.
|
Cache getCache(String name)
Note that the cache may be lazily created at runtime if the native provider supports it.
name
- the cache identifier (must not be null
)null
if such a cache
does not exist or could be not createdCollection<String> getCacheNames()