|
Bees v0.5.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--bees.tests.NodeTest
Constructor Summary | |
NodeTest()
|
Method Summary | |
IntegerPermission |
collected(Node node,
ProtocolSession ps)
This is called when this element is up for collection, the return value specifies the new expiration time. |
void |
removed(Node node,
ProtocolSession ps)
This is called when the element is manually removed from from the cache. |
void |
test(Node node)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NodeTest()
Method Detail |
public void test(Node node) throws java.lang.Throwable
test
in interface Test
public void removed(Node node, ProtocolSession ps)
NodeCache.EventHandler
removed
in interface NodeCache.EventHandler
bees.core.NodeCache.EventHandler
node
- The current Node object.ps
- The ProtocolSession that the NodeCache ispublic IntegerPermission collected(Node node, ProtocolSession ps)
NodeCache.EventHandler
collected
in interface NodeCache.EventHandler
bees.core.NodeCache.EventHandler
node
- The current Node object.ps
- The ProtocolSession that the NodeCache is attached to.
|
Bees v0.5.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |