|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.memory.CacheFilter
public class CacheFilter
Filters another Cache implementation.
Field Summary | |
---|---|
protected Cache |
next
|
Constructor Summary | |
---|---|
CacheFilter(Cache next)
|
Method Summary | |
---|---|
void |
close()
Lets a cache know it will not be used any further and that it can release acquired resources |
java.lang.Object |
get(java.lang.Object key)
Gets an object that was previously put into this object. |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
Puts an object into the cache. |
java.lang.Object |
remove(java.lang.Object key)
Removes an object from the cache. |
int |
size()
How big is the cache right now? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final Cache next
Constructor Detail |
---|
public CacheFilter(Cache next)
Method Detail |
---|
public java.lang.Object put(java.lang.Object key, java.lang.Object value)
Cache
put
in interface Cache
public java.lang.Object get(java.lang.Object key)
Cache
put
into this object.
get
in interface Cache
public java.lang.Object remove(java.lang.Object key)
Cache
remove
in interface Cache
public void close()
Cache
close
in interface Cache
public int size()
Cache
size
in interface Cache
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |