public class MemoryCacheImpl<T> extends Object implements org.qi4j.spi.cache.Cache<T>
MemoryCacheImpl(String cacheId, ConcurrentHashMap<String,Object> cache, Class<T> valueType)
String
cacheId()
int
exists()
boolean
exists(String key)
T
get(String key)
gets()
void
put(String key, T value)
puts()
remove(String key)
removes()
size()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public MemoryCacheImpl(String cacheId, ConcurrentHashMap<String,Object> cache, Class<T> valueType)
public T get(String key)
get
org.qi4j.spi.cache.Cache<T>
public T remove(String key)
remove
public void put(String key, T value)
put
public boolean exists(String key)
exists
public String cacheId()
public int size()
public int gets()
public int removes()
public int puts()
public int exists()