@ThreadSafe public interface CacheProvider
Caches.
 Users typically obtain an implementation of this from the OSGi service registry.
Cache instances produced by this service are neither transactional,
 nor distributed, nor persistent.
| 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> Cache<K,V> | 
newCache(CacheConfig<K,V> cacheConfig,
        CachePolicy initialPolicy)
Creates a brand new  
Cache (API with unchecked exceptions), based on the passed configuration and 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. | 
<K,V,E extends Exception> | 
newCheckedCache(CheckedCacheConfig<K,V,E> cacheConfig,
               CachePolicy initialPolicy)
Creates a brand new  
CheckedCache (API for checked exceptions), based
 on the passed configuration and policy. | 
<K,V> Cache<K,V> newCache(CacheConfig<K,V> cacheConfig, CachePolicy initialPolicy)
Cache (API with unchecked exceptions), based on the passed configuration and policy.
 It is the caller's responsibility to AutoCloseable.close() a Cache obtained from this when they stop.<K,V> Cache<K,V> newCache(CacheConfig<K,V> cacheConfig)
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.<K,V,E extends Exception> CheckedCache<K,V,E> newCheckedCache(CheckedCacheConfig<K,V,E> cacheConfig, CachePolicy initialPolicy)
CheckedCache (API for checked exceptions), based
 on the passed configuration and policy.
 It is the caller's responsibility to AutoCloseable.close() a Cache obtained from this when they stop.<K,V,E extends Exception> CheckedCache<K,V,E> newCheckedCache(CheckedCacheConfig<K,V,E> cacheConfig)
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.Copyright © 2019 OpenDaylight. All rights reserved.