| Modifier and Type | Interface and Description |
|---|---|
| public interface | EvictableCache<
type of the keys K, type of the values V>Represents an evictable memoize cache with its essential methods |
| public interface | MemoizeCache<
type of the keys K, type of the values V>Represents a memoize cache with its essential methods |
| pack-priv interface | ProtectionStorage<K, V>
Protects stored resources from eviction from memory following the LRU (Last Recently Used) strategy. |
| public interface | ValueConvertable<
source value type, e.g. SoftReference, WeakReference V1, target value type, e.g. value that SoftReference or WeakReference referenced V2>To support caches whose values are convertable, e.g. SoftReference, WeakReference |
| Modifier and Type | Class and Description |
|---|---|
| public class | CommonCache<
type of the keys K, type of the values V>Represents a simple key-value cache, which is NOT thread safe and backed by a |
| public class | ConcurrentCommonCache<
type of the keys K, type of the values V>Represents a simple key-value cache, which is thread safe and backed by a |
| public class | ConcurrentSoftCache<
key type K, real value type V>Represents concurrent cache holding SoftReference instance as value |
| public class | |
| pack-priv class | LRUProtectionStorage
Protects stored resources from eviction from memory following the LRU (Last Recently Used) strategy. |
| public abstract class | Memoize
Implements memoize for Closures. |
| public class | NullProtectionStorage
A NullObject pattern implementation for ProtectionStorage Doesn't protect any resources. |
| public class | StampedCommonCache<
type of the keys K, type of the values V>Represents a simple key-value cache, which is thread safe and backed by a |
| public class |