public final class NoCache extends Object implements net.sf.jsr107cache.Cache
| Modifier and Type | Field and Description |
|---|---|
static NoCache |
INSTANCE
Creates a singleton reference the the NoCache implementation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(net.sf.jsr107cache.CacheListener listener) |
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set |
entrySet() |
void |
evict() |
Object |
get(Object key) |
Map |
getAll(Collection keys) |
net.sf.jsr107cache.CacheEntry |
getCacheEntry(Object key) |
net.sf.jsr107cache.CacheStatistics |
getCacheStatistics() |
boolean |
isEmpty() |
Set |
keySet() |
void |
load(Object key) |
void |
loadAll(Collection keys) |
Object |
peek(Object key) |
Object |
put(Object key,
Object value) |
void |
putAll(Map t) |
Object |
remove(Object key) |
void |
removeListener(net.sf.jsr107cache.CacheListener listener) |
int |
size() |
Collection |
values() |
public static final NoCache INSTANCE
public boolean containsKey(Object key)
containsKey in interface MapcontainsKey in interface net.sf.jsr107cache.Cachepublic boolean containsValue(Object value)
containsValue in interface MapcontainsValue in interface net.sf.jsr107cache.Cachepublic Set entrySet()
public boolean isEmpty()
public Set keySet()
public void putAll(Map t)
public int size()
public Collection values()
public Map getAll(Collection keys) throws net.sf.jsr107cache.CacheException
getAll in interface net.sf.jsr107cache.Cachenet.sf.jsr107cache.CacheExceptionpublic void load(Object key) throws net.sf.jsr107cache.CacheException
load in interface net.sf.jsr107cache.Cachenet.sf.jsr107cache.CacheExceptionpublic void loadAll(Collection keys) throws net.sf.jsr107cache.CacheException
loadAll in interface net.sf.jsr107cache.Cachenet.sf.jsr107cache.CacheExceptionpublic net.sf.jsr107cache.CacheEntry getCacheEntry(Object key)
getCacheEntry in interface net.sf.jsr107cache.Cachepublic net.sf.jsr107cache.CacheStatistics getCacheStatistics()
getCacheStatistics in interface net.sf.jsr107cache.Cachepublic void clear()
public void evict()
evict in interface net.sf.jsr107cache.Cachepublic void addListener(net.sf.jsr107cache.CacheListener listener)
addListener in interface net.sf.jsr107cache.Cachepublic void removeListener(net.sf.jsr107cache.CacheListener listener)
removeListener in interface net.sf.jsr107cache.CacheCopyright © 2010-2013. All Rights Reserved.