public interface Cache
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?
|
Object get(Object key)
put
into this object.key
- Object remove(Object key)
key
- void close()
int size()
Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.