Interface CacheManagers
-
- All Known Subinterfaces:
CacheManagersRegistry
- All Known Implementing Classes:
CacheManagersRegistryImpl
public interface CacheManagers
Service to monitor all registered known caches.Used by e.g. CLI commands, web UIs, etc.
Implementations of this interface are expected to be thread-safe.
- Author:
- Michael Vorburger.ch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<CacheManager>
getAllCacheManagers()
Get theCacheManager
for all caches.CacheManager
getCacheManager(String cacheID)
Get theCacheManager
for a particular cache, via its ID.
-
-
-
Method Detail
-
getAllCacheManagers
Iterable<CacheManager> getAllCacheManagers()
Get theCacheManager
for all caches.
-
getCacheManager
CacheManager getCacheManager(String cacheID)
Get theCacheManager
for a particular cache, via its ID.- Throws:
IllegalArgumentException
- if argument is an invalid ID
-
-