public abstract class BaseProvider extends Object implements CacheProvider
AbstractProvider for the abstract class which typical implementations should extend.| Constructor and Description |
|---|
BaseProvider() |
| Modifier and Type | Method and Description |
|---|---|
<K,V> Cache<K,V> |
newCache(CacheConfig<K,V> cacheConfig)
Creates a brand new
Cache (API with unchecked exceptions), based on
the passed configuration and a default policy. |
<K,V,E extends Exception> |
newCheckedCache(CheckedCacheConfig<K,V,E> cacheConfig)
Creates a brand new
CheckedCache (API for checked exceptions), based
on the passed configuration and a default policy. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewCache, newCheckedCachepublic <K,V> Cache<K,V> newCache(CacheConfig<K,V> cacheConfig)
CacheProviderCache (API with unchecked exceptions), based on
the passed configuration and a default policy.
It is the caller's responsibility to AutoCloseable.close() a Cache obtained from this when they stop.newCache in interface CacheProviderpublic <K,V,E extends Exception> CheckedCache<K,V,E> newCheckedCache(CheckedCacheConfig<K,V,E> cacheConfig)
CacheProviderCheckedCache (API for checked exceptions), based
on the passed configuration and a default policy.
It is the caller's responsibility to AutoCloseable.close() a Cache obtained from this when they stop.newCheckedCache in interface CacheProviderCopyright © 2019 OpenDaylight. All rights reserved.