Interface | Description |
---|---|
Cache.CycleHandler<K> |
Should a cycle be detected during computation of a value
for given key, this interface allows client code to register
a callback that would get invoked in such a case.
|
CacheEntry |
This can be used to remove a specific cache entry from the cache,
for better control of the caching release semantics
|
CacheKeyFilter<K> |
This is used by the cache to remove a series of entries that
match this filter
|
Computable<K,V> |
Utility interface to capture generic computation of type V from type K.
|
HybridCacheEntry<V> |
Represents a single hybrid cache entry.
|
LRUHybridCache.CycleHandler<K> |
Should a cycle be detected during computation of a value
for given key, this interface allows client code to register
a callback that would get invoked in such a case.
|
WeakCARCache<K,V> |
A cache that uses the CAR algorithm to remove entries.
|
Class | Description |
---|---|
Cache<K,V> |
Cache implementation that relies on FutureTask.
|
CacheUtilities |
Utilities for creating caches
|
LRUCache<K,V> |
A cache that contains a certain number of entries, and whose oldest accessed
entries are removed when removal is necessary.
|
LRUHybridCache<K,V> |
Hybrid cache that allows explicit removals of included entries as well
as implicit removal of entries that have been least recently accessed.
|
Exception | Description |
---|---|
ComputationErrorException |
This exception should be thrown from the
Computable.compute(Object) method
if the returned computation should NOT be kept in the cache. |
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.