Package org.omnaest.utils.structure.element.cached

Interface Summary
CachedElement.CachedValue<T> Used to store and retrieve the CachedElement.CachedValue
CachedElement.ValueResolver<T>  
 

Class Summary
CachedElement<T> A CachedElement provides an abstract cache mechanism around a given value.
CachedElement.ValueResolverSimple<T> Simple CachedElement.ValueResolver which returns the object initially given to the constructor.
CachedElementTimed<T> Extension of the CachedElement which allows declare a duration after passing that the cache becomes dirty and is not be used anymore.
SoftCachedElement<T> This is a CachedElement which uses a SoftReference to cache a value.
ThreadLocalCachedElement<T> ThreadLocal variant of a CachedElement which caches resolved element values for each thread independently.
WeakCachedElement<T> This is a CachedElement which uses a WeakReference to cache a value.
 



Copyright © 2013. All Rights Reserved.