|
Rice Pastry API | ||||||||||
| 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 |
environment, factory, inConcJoin, lastDist, lastMsg, lastNode, pastryNodes, pastryNodesLastAdded, pastryNodesSorted, pastryNodesSortedReady |
| Method Summary | |
protected NodeHandle |
getBootstrap(boolean firstNode)
Get pastryNodes.last() to bootstrap with, or return null. |
protected boolean |
isReallyAlive(NodeHandle nh)
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)
DESCRIBE THE METHOD |
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 PastryRegrTestfirstNode - DESCRIBE THE PARAMETER
protected boolean isReallyAlive(NodeHandle nh)
isReallyAlive in class PastryRegrTestnh - DESCRIBE THE PARAMETER
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 PastryRegrTestms - DESCRIBE THE PARAMETERprotected void killNode(PastryNode pn)
killNode in class PastryRegrTestpn - DESCRIBE THE PARAMETER
public static void main(java.lang.String[] args)
throws java.io.IOException
args - DESCRIBE THE PARAMETER
java.io.IOException - DESCRIBE THE EXCEPTION
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||