| Modifier and Type | Method and Description | 
|---|---|
CachePolicy | 
CachePolicyBuilder.build()
Builds a new  
CachePolicy. | 
CachePolicy | 
CacheManager.getPolicy()
Get this Cache's current policy. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CachePolicyBuilder | 
CachePolicyBuilder.from(CachePolicy instance)
Fill a builder with attribute values from the provided  
CachePolicy instance. | 
<K,V> Cache<K,V> | 
CacheProvider.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> | 
CacheProvider.newCheckedCache(CheckedCacheConfig<K,V,E> cacheConfig,
               CachePolicy initialPolicy)
Creates a brand new  
CheckedCache (API for checked exceptions), based
 on the passed configuration and policy. | 
void | 
CacheManager.setPolicy(CachePolicy newPolicy)
Update this Cache's policy. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
<K,V> Cache<K,V> | 
AbstractProvider.newCache(CacheConfig<K,V> cacheConfig,
        CachePolicy initialPolicy)  | 
<K,V,E extends Exception> | 
AbstractProvider.newCheckedCache(CheckedCacheConfig<K,V,E> cacheConfig,
               CachePolicy initialPolicy)  | 
protected abstract <K,V> Cache<K,V> | 
AbstractProvider.newUnregisteredCache(CacheConfig<K,V> cacheConfig,
                    CachePolicy initialPolicy)  | 
protected abstract <K,V,E extends Exception> | 
AbstractProvider.newUnregisteredCheckedCache(CheckedCacheConfig<K,V,E> cacheConfig,
                           CachePolicy initialPolicy)  | 
| Modifier and Type | Method and Description | 
|---|---|
<K,V> Cache<K,V> | 
GuavaCacheProvider.newUnregisteredCache(CacheConfig<K,V> cacheConfig,
                    CachePolicy initialPolicy)  | 
<K,V,E extends Exception> | 
GuavaCacheProvider.newUnregisteredCheckedCache(CheckedCacheConfig<K,V,E> cacheConfig,
                           CachePolicy initialPolicy)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
NoopCachePolicy
No Operation ("NOOP") implementation of CachePolicy. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
<K,V> Cache<K,V> | 
NoopCacheProvider.newUnregisteredCache(CacheConfig<K,V> cacheConfig,
                    CachePolicy cachePolicy)  | 
<K,V,E extends Exception> | 
NoopCacheProvider.newUnregisteredCheckedCache(CheckedCacheConfig<K,V,E> cacheConfig,
                           CachePolicy cachePolicy)  | 
| Modifier and Type | Method and Description | 
|---|---|
<K,V> Cache<K,V> | 
StandardCacheProvider.newCache(CacheConfig<K,V> cacheConfig,
        CachePolicy initialPolicy)  | 
<K,V,E extends Exception> | 
StandardCacheProvider.newCheckedCache(CheckedCacheConfig<K,V,E> cacheConfig,
               CachePolicy initialPolicy)  | 
Copyright © 2019 OpenDaylight. All rights reserved.