Package org.wamblee.cache

This package provides an interface for a cache together with several implementations.

See:
          Description

Interface Summary
Cache<KeyType extends Serializable,ValueType extends Serializable> The Cache interface represents a cache intended for application-level caching.
CachedObject.Computation<Key extends Serializable,Value extends Serializable> Callback invoked to compute an object if it was not found in the cache.
ComputedValue.Computation<T> Computation
 

Class Summary
CachedObject<KeyType extends Serializable,ValueType extends Serializable> Represents a cached object identified by the key it has in a certain Cache.
ComputedValue<T> Utility class to deal with recomputation of a certain value.
EhCache<KeyType extends Serializable,ValueType extends Serializable> Cache implemented on top of EhCache.
ForeverCache<KeyType extends Serializable,ValueType extends Serializable> A very simple cache based on a HashMap, It never expires any entries, and has no bounds on its size.
ZeroCache<KeyType extends Serializable,ValueType extends Serializable> A cache that does not cache.
 

Package org.wamblee.cache Description

This package provides an interface for a cache together with several implementations. The main interfaces and classes are:



Copyright © 2021. All Rights Reserved.