org.jopendocument.util.cache
Class CacheResult<V>

java.lang.Object
  extended by 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

Nested Class Summary
static class CacheResult.State
           
 
Method Summary
 V getRes()
           
 CacheResult.State getState()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getRes

public V getRes()

getState

public CacheResult.State getState()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 jOpenDocument All Rights Reserved.