Class CacheFactory.NeverCacheFactory
java.lang.Object
ru.progrm_jarvis.javacommons.cache.CacheFactory.NeverCacheFactory
- All Implemented Interfaces:
CacheFactory
- Enclosing interface:
- CacheFactory
CacheFactory which always creates no-op caches.-
Nested Class Summary
Nested classes/interfaces inherited from interface ru.progrm_jarvis.javacommons.cache.CacheFactory
CacheFactory.NeverCacheFactory -
Method Summary
-
Method Details
-
weakKeysCache
Description copied from interface:CacheFactoryCreates a new cache whose keys will be storedweakly.- Specified by:
weakKeysCachein interfaceCacheFactory- Type Parameters:
K- type of cache keysV- type of cached values- Returns:
- weak keys cache
-
weakValuesCache
Description copied from interface:CacheFactoryCreates a new cache whose values will be storedweakly.- Specified by:
weakValuesCachein interfaceCacheFactory- Type Parameters:
K- type of cache keysV- type of cached values- Returns:
- weak values cache
-
softValuesCache
Description copied from interface:CacheFactoryCreates a new cache whose values will be storedsoftly.- Specified by:
softValuesCachein interfaceCacheFactory- Type Parameters:
K- type of cache keysV- type of cached values- Returns:
- soft values cache
-