public interface CacheManager
Allows for retrieving named Cache regions.
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
@Nullable 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()
Copyright © 2022. All rights reserved.