|
ANTS v2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ants.core.NodeCache.EventHandler
Elements of this type in the node cache will receive calls when one of a set of events occurs.
XXX Not sure if this is useful or not, and it can probably be done better
Constructor Summary | |
NodeCache.EventHandler()
|
Method Summary | |
int |
collected()
This is called when this element is up for collection, the return value specifies the new expiration time. |
void |
removed()
This is called when the element is manually removed from from the cache. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public NodeCache.EventHandler()
Method Detail |
public void removed()
public int collected()
|
ANTS v2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |