public class CacheFilter extends java.lang.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
|
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?
|
protected final Cache next
public CacheFilter(Cache next)
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
Cachepublic java.lang.Object get(java.lang.Object key)
Cacheput into this object.public java.lang.Object remove(java.lang.Object key)
Cachepublic void close()
CacheCopyright © 2005-2016 Red Hat, Inc.. All Rights Reserved.