org.qi4j.spi.cache
Class NullCache<T>

java.lang.Object
  extended by org.qi4j.spi.cache.NullCache<T>
All Implemented Interfaces:
Cache<T>

public final class NullCache<T>
extends Object
implements Cache<T>


Constructor Summary
NullCache()
           
 
Method Summary
 boolean exists(String key)
           
 T get(String key)
           
 void put(String key, T value)
           
 T remove(String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullCache

public NullCache()
Method Detail

get

public T get(String key)
Specified by:
get in interface Cache<T>

remove

public T remove(String key)
Specified by:
remove in interface Cache<T>

put

public void put(String key,
                T value)
Specified by:
put in interface Cache<T>

exists

public boolean exists(String key)
Specified by:
exists in interface Cache<T>