Class CacheManagersRegistryImpl
- java.lang.Object
-
- org.opendaylight.infrautils.caches.baseimpl.internal.CacheManagersRegistryImpl
-
- All Implemented Interfaces:
CacheManagersRegistry,CacheManagers
@Singleton public class CacheManagersRegistryImpl extends Object implements CacheManagersRegistry
Implementation of CachesMonitor. This class is thread-safe.- Author:
- Michael Vorburger.ch
-
-
Constructor Summary
Constructors Constructor Description CacheManagersRegistryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<CacheManager>getAllCacheManagers()Get theCacheManagerfor all caches.CacheManagergetCacheManager(String cacheID)Get theCacheManagerfor a particular cache, via its ID.voidregisterCacheManager(CacheManager cacheManager)Implementations ofCacheProviderinvoke this for each newCacheManagerthey're about to return to users.
-
-
-
Method Detail
-
registerCacheManager
public void registerCacheManager(CacheManager cacheManager)
Description copied from interface:CacheManagersRegistryImplementations ofCacheProviderinvoke this for each newCacheManagerthey're about to return to users.- Specified by:
registerCacheManagerin interfaceCacheManagersRegistry
-
getAllCacheManagers
public List<CacheManager> getAllCacheManagers()
Description copied from interface:CacheManagersGet theCacheManagerfor all caches.- Specified by:
getAllCacheManagersin interfaceCacheManagers
-
getCacheManager
public CacheManager getCacheManager(String cacheID)
Description copied from interface:CacheManagersGet theCacheManagerfor a particular cache, via its ID.- Specified by:
getCacheManagerin interfaceCacheManagers
-
-