Uses of Class
com.strobel.collections.Cache
Packages that use Cache
-
Uses of Cache in com.strobel.collections
Methods in com.strobel.collections that return CacheModifier and TypeMethodDescriptionstatic <K,V> Cache <K, V> Cache.createSatelliteCache()Creates an unsynchronized, concurrency-unsafe Level 1 cache that can only be used safely by a single thread.static <K,V> Cache <K, V> Cache.createSatelliteCache(Cache<K, V> parent) Creates an unsynchronized, concurrency-unsafe Level 2 cache that can only be used safely by a single thread.static <K,V> Cache <K, V> Cache.createSatelliteIdentityCache()Creates an unsynchronized, concurrency-unsafe Level 1 cache that can only be used safely by a single thread.static <K,V> Cache <K, V> Cache.createSatelliteIdentityCache(Cache<K, V> parent) Creates an unsynchronized, concurrency-unsafe Level 2 cache that can only be used safely by a single thread.static <K,V> Cache <K, V> Cache.createThreadLocalCache()Creates a Level 1 cache that internally maintains a separate satellite cache for each thread that accesses it.static <K,V> Cache <K, V> Cache.createThreadLocalCache(Cache<K, V> parent) Creates a Level 2 cache that internally maintains a separate satellite cache for each thread that accesses it.static <K,V> Cache <K, V> Cache.createThreadLocalIdentityCache()Creates a Level 1 cache that internally maintains a separate satellite cache for each thread that accesses it.static <K,V> Cache <K, V> Cache.createThreadLocalIdentityCache(Cache<K, V> parent) Creates a Level 2 cache that internally maintains a separate satellite cache for each thread that accesses it.static <K,V> Cache <K, V> Cache.createTopLevelCache()Creates a concurrency-safe Level 1 cache that may be used in isolation or as the root cache in a multi-level cache design.Cache.getSatelliteCache()Returns a thread-specific satellite cache chained to this cache.Methods in com.strobel.collections with parameters of type CacheModifier and TypeMethodDescriptionstatic <K,V> Cache <K, V> Cache.createSatelliteCache(Cache<K, V> parent) Creates an unsynchronized, concurrency-unsafe Level 2 cache that can only be used safely by a single thread.static <K,V> Cache <K, V> Cache.createSatelliteIdentityCache(Cache<K, V> parent) Creates an unsynchronized, concurrency-unsafe Level 2 cache that can only be used safely by a single thread.static <K,V> Cache <K, V> Cache.createThreadLocalCache(Cache<K, V> parent) Creates a Level 2 cache that internally maintains a separate satellite cache for each thread that accesses it.static <K,V> Cache <K, V> Cache.createThreadLocalIdentityCache(Cache<K, V> parent) Creates a Level 2 cache that internally maintains a separate satellite cache for each thread that accesses it.