Abstract base class and factory for caches. A cache is a key-value mapping. It has properties that make it more suitable for caching than a Map.
Utility class that wraps a byte array and implements the equals() and hashCode() contract in a way suitable for Maps and caches.
Return a new memory cache with the specified maximum size, unlimited lifetime for entries, with the values held by standard references.
Return a new memory cache with the specified maximum size, the specified maximum lifetime (in seconds), with the values held by standard references.
Return a dummy cache that does nothing.
Return a new memory cache with the specified maximum size, unlimited lifetime for entries, with the values held by SoftReferences.
Return a new memory cache with the specified maximum size, the specified maximum lifetime (in seconds), with the values held by SoftReferences.