Class and Description |
---|
Cache
Cache implementation that relies on FutureTask.
|
Cache.CycleHandler
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.
|
Cache.OriginThreadAwareFuture
Helper class, that remembers the future task origin thread, so that cycles could be detected.
|
CacheEntry
This can be used to remove a specific cache entry from the cache,
for better control of the caching release semantics
|
CacheKeyFilter
This is used by the cache to remove a series of entries that
match this filter
|
Computable
Utility interface to capture generic computation of type V from type K.
|
ComputationErrorException
This exception should be thrown from the
Computable.compute(Object) method
if the returned computation should NOT be kept in the cache. |
HybridCacheEntry
Represents a single hybrid cache entry.
|
LRUCache
A cache that contains a certain number of entries, and whose oldest accessed
entries are removed when removal is necessary.
|
LRUHybridCache
Hybrid cache that allows explicit removals of included entries as well
as implicit removal of entries that have been least recently accessed.
|
LRUHybridCache.CycleHandler
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.
|
LRUHybridCache.OriginThreadAwareFuture
Helper class, that remembers the future task origin thread, so that cycles could be detected.
|
WeakCARCache
A cache that uses the CAR algorithm to remove entries.
|
Class and Description |
---|
CacheEntry
This can be used to remove a specific cache entry from the cache,
for better control of the caching release semantics
|
CacheKeyFilter
This is used by the cache to remove a series of entries that
match this filter
|
Computable
Utility interface to capture generic computation of type V from type K.
|
LRUCache
A cache that contains a certain number of entries, and whose oldest accessed
entries are removed when removal is necessary.
|
WeakCARCache
A cache that uses the CAR algorithm to remove entries.
|
Class and Description |
---|
CacheKeyFilter
This is used by the cache to remove a series of entries that
match this filter
|
Class and Description |
---|
CacheKeyFilter
This is used by the cache to remove a series of entries that
match this filter
|
Class and Description |
---|
LRUHybridCache
Hybrid cache that allows explicit removals of included entries as well
as implicit removal of entries that have been least recently accessed.
|
Class and Description |
---|
Cache
Cache implementation that relies on FutureTask.
|
WeakCARCache
A cache that uses the CAR algorithm to remove entries.
|