|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Cache
Cache
Method Summary | |
---|---|
void |
destroy()
Destroy the cache |
void |
init(java.util.Properties properties)
Initialize the cache using Properties |
void |
pageIn(java.lang.Object key,
java.lang.Object object)
Pages an object into the cache, affecting it's cache ranking. |
java.lang.Object |
pageOut(java.lang.Object key)
Pages an object out of the cache, affecting it's cache ranking. |
void |
remove(java.lang.Object key)
Removes an object from the cache |
Method Detail |
---|
void init(java.util.Properties properties) throws CacheException
properties
-
CacheException
void pageIn(java.lang.Object key, java.lang.Object object) throws CacheException
key
- the keyobject
- the object
CacheException
java.lang.Object pageOut(java.lang.Object key) throws CacheException
key
- the object's cache key
CacheException
void remove(java.lang.Object key) throws CacheException
key
- the object's cache key
CacheException
void destroy() throws CacheException
CacheException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |