|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface which needs to be implemented and given to the cache in order to create new instances. It also allows for created objects to be cleaned up.
Method Summary | |
void |
cleanUpObject(java.lang.Object key,
java.lang.Object obj)
Called when the given object is being removed from the cache. |
java.lang.Object |
createObject(java.lang.Object key)
Called when a new object needs to be created. |
Method Detail |
public java.lang.Object createObject(java.lang.Object key)
key
- the key associated with the created object.
public void cleanUpObject(java.lang.Object key, java.lang.Object obj)
key
- the key associated with the object.obj
- the object being cleaned up.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |