|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.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 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 PastryRegrTest
pn
- pastry nodeapp
- newly created applicationprotected boolean simulate()
simulate
in class PastryRegrTest
public void pause(int ms)
pause
in class PastryRegrTest
protected boolean isReallyAlive(NodeHandle nh)
isReallyAlive
in class PastryRegrTest
protected void killNode(PastryNode pn)
killNode
in class PastryRegrTest
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |