com.planetj.taste.impl.common
Interface SoftCache.Retriever<KK,VV>

Enclosing class:
SoftCache<K,V>

public static interface SoftCache.Retriever<KK,VV>

Implementations can retrieve a value for a given key.


Method Summary
 VV getValue(KK key)
           
 

Method Detail

getValue

@NotNull
VV getValue(KK key)
            throws TasteException
Parameters:
key - key for which a value should be retrieved
Returns:
value for key
Throws:
TasteException - if an error occurs while retrieving the value