|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.pastry.testing.PastryRegrTest
rice.pastry.testing.DirectPastryRegrTest
PastryRegrTest a regression test suite for pastry.
| Field Summary |
| Fields inherited from class rice.pastry.testing.PastryRegrTest |
factory, inConcJoin, lastDist, lastMsg, lastNode, pastryNodes, pastryNodesLastAdded, pastryNodesSorted |
| Method Summary | |
protected NodeHandle |
getBootstrap(boolean firstNode)
Get pastryNodes.last() to bootstrap with, or return null. |
protected boolean |
isReallyAlive(NodeId id)
get authoritative information about liveness of node. |
protected void |
killNode(PastryNode pn)
murder the node. |
static void |
main(java.lang.String[] args)
main. |
void |
pause(int ms)
|
protected void |
registerapp(PastryNode pn,
RegrTestApp app)
wire protocol specific handling of the application object e.g., RMI may launch a new thread |
protected boolean |
simulate()
send one simulated message |
| Methods inherited from class rice.pastry.testing.PastryRegrTest |
generateNode, mainfunc, sendPings |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
protected NodeHandle getBootstrap(boolean firstNode)
getBootstrap in class PastryRegrTest
protected void registerapp(PastryNode pn,
RegrTestApp app)
registerapp in class PastryRegrTestpn - pastry nodeapp - newly created applicationprotected boolean simulate()
simulate in class PastryRegrTestpublic void pause(int ms)
pause in class PastryRegrTestprotected boolean isReallyAlive(NodeId id)
isReallyAlive in class PastryRegrTestprotected void killNode(PastryNode pn)
killNode in class PastryRegrTestpublic static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||