public class CacheFilter extends Object implements Cache
Constructor and Description |
---|
CacheFilter(Cache next) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Lets a cache know it will not be used any further and that it can release
acquired resources
|
Object |
get(Object key)
Gets an object that was previously
put into this object. |
Object |
put(Object key,
Object value)
Puts an object into the cache.
|
Object |
remove(Object key)
Removes an object from the cache.
|
int |
size()
How big is the cache right now?
|
public CacheFilter(Cache next)
public Object put(Object key, Object value)
Cache
public Object get(Object key)
Cache
put
into this object.public Object remove(Object key)
Cache
public void close()
Cache
Copyright © 2005–2014. All rights reserved.