org.qi4j.spi.cache
Class NullCache<T>
java.lang.Object
org.qi4j.spi.cache.NullCache<T>
- All Implemented Interfaces:
- Cache<T>
public final class NullCache<T>
- extends Object
- implements Cache<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullCache
public NullCache()
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>