| 
 | Rice Pastry 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
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  rice.pastry.NodeHandle | getBootstrap(boolean firstNode)Get pastryNodes.last() to bootstrap with, or return null. | 
| protected  boolean | isReallyAlive(rice.pastry.NodeId id)get authoritative information about liveness of node. | 
| protected  void | killNode(rice.pastry.PastryNode pn)murder the node. | 
| static void | main(java.lang.String[] args)main. | 
|  void | pause(int ms) | 
| protected  void | registerapp(rice.pastry.PastryNode pn,
            rice.pastry.testing.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 rice.pastry.NodeHandle getBootstrap(boolean firstNode)
getBootstrap in class PastryRegrTest
protected void registerapp(rice.pastry.PastryNode pn,
                           rice.pastry.testing.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(rice.pastry.NodeId id)
isReallyAlive in class PastryRegrTestprotected void killNode(rice.pastry.PastryNode pn)
killNode in class PastryRegrTestpublic static void main(java.lang.String[] args)
| 
 | Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||