@NonNullByDefault
Package org.opendaylight.infrautils.caches
-
Interface Summary Interface Description BaseCache<K,V> Base class forCacheandCheckedCache.Cache<K,V> Cache of keys to values.CacheFunction<K,V> Cache's Function.CacheManager Manage a Cache.CacheManagers Service to monitor all registered known caches.CachePolicy Policy of aCache(orCheckedCache).CacheProvider Provider (AKA factory) ofCaches.CacheStats Statistics about a Cache.CheckedCache<K,V,E extends Exception> Cache of keys to values, for cache function which may throw a checked exception.CheckedCacheFunction<K,V,E extends Exception> CheckedCache's Function, can throw checked Exception. -
Class Summary Class Description BaseCacheConfig Base class forCacheConfigandCheckedCacheConfig.CacheConfig<K,V> Configuration of aCache.CacheConfigBuilder<K,V> Builds instances of typeCacheConfig.CachePolicyBuilder Builds instances of typeCachePolicy.CheckedCacheConfig<K,V,E extends Exception> Configuration of aCheckedCache.CheckedCacheConfigBuilder<K,V,E extends Exception> Builds instances of typeCheckedCacheConfig. -
Exception Summary Exception Description BadCacheFunctionRuntimeException Exception thrown when aCacheFunctionreturns a null value, which it never should.