Class NoopCacheProvider
- java.lang.Object
-
- org.opendaylight.infrautils.caches.baseimpl.AbstractProvider
-
- org.opendaylight.infrautils.caches.noop.internal.NoopCacheProvider
-
- All Implemented Interfaces:
CacheProvider
public class NoopCacheProvider extends AbstractProvider
No Operation ("NOOP") implementation of cache factory.- Author:
- Michael Vorburger.ch
-
-
Constructor Summary
Constructors Constructor Description NoopCacheProvider(CacheManagersRegistry cachesMonitor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <K,V>
Cache<K,V>newUnregisteredCache(CacheConfig<K,V> cacheConfig, CachePolicy cachePolicy)
<K,V,E extends Exception>
CheckedCache<K,V,E>newUnregisteredCheckedCache(CheckedCacheConfig<K,V,E> cacheConfig, CachePolicy cachePolicy)
-
Methods inherited from class org.opendaylight.infrautils.caches.baseimpl.AbstractProvider
newCache, newCheckedCache
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opendaylight.infrautils.caches.CacheProvider
newCache, newCheckedCache
-
-
-
-
Constructor Detail
-
NoopCacheProvider
@Inject public NoopCacheProvider(CacheManagersRegistry cachesMonitor)
-
-
Method Detail
-
newUnregisteredCache
public <K,V> Cache<K,V> newUnregisteredCache(CacheConfig<K,V> cacheConfig, CachePolicy cachePolicy)
- Specified by:
newUnregisteredCache
in classAbstractProvider
-
newUnregisteredCheckedCache
public <K,V,E extends Exception> CheckedCache<K,V,E> newUnregisteredCheckedCache(CheckedCacheConfig<K,V,E> cacheConfig, CachePolicy cachePolicy)
- Specified by:
newUnregisteredCheckedCache
in classAbstractProvider
-
-