|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axonframework.common.NoCache
public final class NoCache
Cache implementation that does absolutely nothing. Objects aren't cached, making it a special case implementation for the case when caching is disabled.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Field Summary | |
|---|---|
static NoCache |
INSTANCE
Creates a singleton reference the the NoCache implementation. |
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.jsr107cache.Cache |
|---|
equals, hashCode |
| Field Detail |
|---|
public static final NoCache INSTANCE
| Method Detail |
|---|
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()
entrySet in interface MapentrySet in interface net.sf.jsr107cache.Cachepublic boolean isEmpty()
isEmpty in interface MapisEmpty in interface net.sf.jsr107cache.Cachepublic Set keySet()
keySet in interface MapkeySet in interface net.sf.jsr107cache.Cachepublic void putAll(Map t)
putAll in interface MapputAll in interface net.sf.jsr107cache.Cachepublic int size()
size in interface Mapsize in interface net.sf.jsr107cache.Cachepublic Collection values()
values in interface Mapvalues in interface net.sf.jsr107cache.Cachepublic Object get(Object key)
get in interface Mapget in interface net.sf.jsr107cache.Cache
public Map getAll(Collection keys)
throws net.sf.jsr107cache.CacheException
getAll in interface net.sf.jsr107cache.Cachenet.sf.jsr107cache.CacheException
public void load(Object key)
throws net.sf.jsr107cache.CacheException
load in interface net.sf.jsr107cache.Cachenet.sf.jsr107cache.CacheException
public void loadAll(Collection keys)
throws net.sf.jsr107cache.CacheException
loadAll in interface net.sf.jsr107cache.Cachenet.sf.jsr107cache.CacheExceptionpublic Object peek(Object key)
peek in interface net.sf.jsr107cache.Cache
public Object put(Object key,
Object value)
put in interface Mapput in interface net.sf.jsr107cache.Cachepublic 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 Object remove(Object key)
remove in interface Mapremove in interface net.sf.jsr107cache.Cachepublic void clear()
clear in interface Mapclear in interface net.sf.jsr107cache.Cachepublic 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.Cache
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||