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, wait
newCache, newCheckedCache
public <K,V> Cache<K,V> newCache(CacheConfig<K,V> cacheConfig)
CacheProvider
Cache
(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 CacheProvider
public <K,V,E extends Exception> CheckedCache<K,V,E> newCheckedCache(CheckedCacheConfig<K,V,E> cacheConfig)
CacheProvider
CheckedCache
(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 CacheProvider
Copyright © 2019 OpenDaylight. All rights reserved.