org.jopendocument.util.cache
Class CacheResult<V>
java.lang.Object
org.jopendocument.util.cache.CacheResult<V>
- Type Parameters:
V
- type of value.
public final class CacheResult<V>
- extends Object
Represent the result of a query to a cache. Allow one to know if the queried key was not in
cache, or the thread was interrupted or of course if the result was in cache.
- Author:
- Sylvain
getRes
public V getRes()
getState
public CacheResult.State getState()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2010 jOpenDocument All Rights Reserved.