Cache key for comparing byte arrays
Simple persistence strategy that keeps values in memory and writes them to a prop file on disk.
Trait for persisting properties to some kind of durable storage
A value per thread wrapped in SoftReferences, which allows it to be reclaimed by garbage-collection when needed.
Creates a per-thread cache of values wrapped in SoftReferences, which allows them to be reclaimed by garbage-collection when needed.
Creates a per-thread cache of values with a timed expiration.
Creates a per-thread cache of values with a timed expiration.
Map operations will only affect/reflect the state of the current thread. Additional methods globalIterator
and estimatedGlobalSize
are provided for global views across all threads, which generally should only be used
for debugging.
Since caches are only cleaned up when accessed, uses an asynchronous thread to actively clean up any orphaned thread local values
key type
value type
Creates a per-thread cache of values wrapped in SoftReferences, which allows them to be reclaimed by garbage-collection when needed.
key type
value type