Interface CacheManagers
- 
- All Known Subinterfaces:
 CacheManagersRegistry
- All Known Implementing Classes:
 CacheManagersRegistryImpl
public interface CacheManagersService 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 theCacheManagerfor all caches.CacheManagergetCacheManager(String cacheID)Get theCacheManagerfor a particular cache, via its ID. 
 - 
 
- 
- 
Method Detail
- 
getAllCacheManagers
Iterable<CacheManager> getAllCacheManagers()
Get theCacheManagerfor all caches. 
- 
getCacheManager
CacheManager getCacheManager(String cacheID)
Get theCacheManagerfor a particular cache, via its ID.- Throws:
 IllegalArgumentException- if argument is an invalid ID
 
 - 
 
 -