|
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
public class 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 void |
checkRoutingTable(RegrTestApp rta)
verify the correctness of the routing table |
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)
|
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(NodeHandle nh)
isReallyAlive in class PastryRegrTestprotected void killNode(PastryNode pn)
killNode in class PastryRegrTestprotected void checkRoutingTable(RegrTestApp rta)
PastryRegrTest
checkRoutingTable in class PastryRegrTest
public static void main(java.lang.String[] args)
throws java.io.IOException
java.io.IOException
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||