Uses of Interface
org.opendaylight.infrautils.caches.CachePolicy
-
-
Uses of CachePolicy in org.opendaylight.infrautils.caches
Methods in org.opendaylight.infrautils.caches that return CachePolicy Modifier and Type Method Description CachePolicy
CachePolicyBuilder. build()
Builds a newCachePolicy
.CachePolicy
CacheManager. getPolicy()
Get this Cache's current policy.Methods in org.opendaylight.infrautils.caches with parameters of type CachePolicy Modifier and Type Method Description CachePolicyBuilder
CachePolicyBuilder. from(CachePolicy instance)
Fill a builder with attribute values from the providedCachePolicy
instance.<K,V>
Cache<K,V>CacheProvider. newCache(CacheConfig<K,V> cacheConfig, CachePolicy initialPolicy)
Creates a brand newCache
(API with unchecked exceptions), based on the passed configuration and policy.<K,V,E extends Exception>
CheckedCache<K,V,E>CacheProvider. newCheckedCache(CheckedCacheConfig<K,V,E> cacheConfig, CachePolicy initialPolicy)
Creates a brand newCheckedCache
(API for checked exceptions), based on the passed configuration and policy.void
CacheManager. setPolicy(CachePolicy newPolicy)
Update this Cache's policy. -
Uses of CachePolicy in org.opendaylight.infrautils.caches.baseimpl
Methods in org.opendaylight.infrautils.caches.baseimpl with parameters of type CachePolicy Modifier and Type Method Description <K,V>
Cache<K,V>AbstractProvider. newCache(CacheConfig<K,V> cacheConfig, CachePolicy initialPolicy)
<K,V,E extends Exception>
CheckedCache<K,V,E>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>
CheckedCache<K,V,E>AbstractProvider. newUnregisteredCheckedCache(CheckedCacheConfig<K,V,E> cacheConfig, CachePolicy initialPolicy)
-
Uses of CachePolicy in org.opendaylight.infrautils.caches.guava.internal
Methods in org.opendaylight.infrautils.caches.guava.internal with parameters of type CachePolicy Modifier and Type Method Description <K,V>
Cache<K,V>GuavaCacheProvider. newUnregisteredCache(CacheConfig<K,V> cacheConfig, CachePolicy initialPolicy)
<K,V,E extends Exception>
CheckedCache<K,V,E>GuavaCacheProvider. newUnregisteredCheckedCache(CheckedCacheConfig<K,V,E> cacheConfig, CachePolicy initialPolicy)
-
Uses of CachePolicy in org.opendaylight.infrautils.caches.noop.internal
Classes in org.opendaylight.infrautils.caches.noop.internal that implement CachePolicy Modifier and Type Class Description class
NoopCachePolicy
No Operation ("NOOP") implementation of CachePolicy.Methods in org.opendaylight.infrautils.caches.noop.internal with parameters of type CachePolicy Modifier and Type Method Description <K,V>
Cache<K,V>NoopCacheProvider. newUnregisteredCache(CacheConfig<K,V> cacheConfig, CachePolicy cachePolicy)
<K,V,E extends Exception>
CheckedCache<K,V,E>NoopCacheProvider. newUnregisteredCheckedCache(CheckedCacheConfig<K,V,E> cacheConfig, CachePolicy cachePolicy)
-
Uses of CachePolicy in org.opendaylight.infrautils.caches.standard
Methods in org.opendaylight.infrautils.caches.standard with parameters of type CachePolicy Modifier and Type Method Description <K,V>
Cache<K,V>StandardCacheProvider. newCache(CacheConfig<K,V> cacheConfig, CachePolicy initialPolicy)
<K,V,E extends Exception>
CheckedCache<K,V,E>StandardCacheProvider. newCheckedCache(CheckedCacheConfig<K,V,E> cacheConfig, CachePolicy initialPolicy)
-