<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_07) on Fri Mar 13 20:01:10 CET 2009 --> <TITLE> PastryRegrTest (Rice Pastry - API Specifications) </TITLE> <META NAME="date" CONTENT="2009-03-13"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="PastryRegrTest (Rice Pastry - API Specifications)"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PastryRegrTest.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> Rice Pastry API</EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../rice/pastry/testing/PastryNetworkTest.html" title="class in rice.pastry.testing"><B>PREV CLASS</B></A> <A HREF="../../../rice/pastry/testing/PastryTest.html" title="class in rice.pastry.testing"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?rice/pastry/testing/PastryRegrTest.html" target="_top"><B>FRAMES</B></A> <A HREF="PastryRegrTest.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> rice.pastry.testing</FONT> <BR> Class PastryRegrTest</H2> <PRE> java.lang.Object <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>rice.pastry.testing.PastryRegrTest</B> </PRE> <DL> <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../rice/pastry/testing/DirectPastryRegrTest.html" title="class in rice.pastry.testing">DirectPastryRegrTest</A>, <A HREF="../../../rice/pastry/testing/DistPastryRegrTest.html" title="class in rice.pastry.testing">DistPastryRegrTest</A></DD> </DL> <HR> <DL> <DT><PRE>public abstract class <B>PastryRegrTest</B><DT>extends java.lang.Object</DL> </PRE> <P> PastryRegrTest a regression test suite for pastry. abstract class. <P> <P> <DL> <DT><B>Version:</B></DT> <DD>$Id: PastryRegrTest.java 4654 2009-01-08 16:33:07Z jeffh $</DD> <DT><B>Author:</B></DT> <DD>andrew ladd, peter druschel</DD> </DL> <HR> <P> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Field Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../rice/environment/Environment.html" title="class in rice.environment">Environment</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#environment">environment</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../rice/pastry/PastryNodeFactory.html" title="class in rice.pastry">PastryNodeFactory</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#factory">factory</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#inConcJoin">inConcJoin</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../rice/pastry/Id.Distance.html" title="class in rice.pastry">Id.Distance</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#lastDist">lastDist</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../rice/pastry/messaging/Message.html" title="class in rice.pastry.messaging">Message</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#lastMsg">lastMsg</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../rice/pastry/Id.html" title="class in rice.pastry">Id</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#lastNode">lastNode</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.util.Vector</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#pastryNodes">pastryNodes</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.util.Vector</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#pastryNodesLastAdded">pastryNodesLastAdded</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.util.SortedMap</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#pastryNodesSorted">pastryNodesSorted</A></B></CODE> <BR> of Id</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.util.SortedMap</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#pastryNodesSortedReady">pastryNodesSortedReady</A></B></CODE> <BR> </TD> </TR> </TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected </CODE></FONT></TD> <TD><CODE><B><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#PastryRegrTest(rice.environment.Environment)">PastryRegrTest</A></B>(<A HREF="../../../rice/environment/Environment.html" title="class in rice.environment">Environment</A> env)</CODE> <BR> constructor</TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#checkRoutingTable(rice.pastry.testing.RegrTestApp)">checkRoutingTable</A></B>(<A HREF="../../../rice/pastry/testing/RegrTestApp.html" title="class in rice.pastry.testing">RegrTestApp</A> rta)</CODE> <BR> verify the correctness of the routing table</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#generateNode(rice.pastry.NodeHandle)">generateNode</A></B>(<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A> bootstrap)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected abstract <A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#getBootstrap(boolean)">getBootstrap</A></B>(boolean firstNode)</CODE> <BR> get a node handle to bootstrap from.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected abstract boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#isReallyAlive(rice.pastry.NodeHandle)">isReallyAlive</A></B>(<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A> nh)</CODE> <BR> determine whether this node is really alive.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected abstract void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#killNode(rice.pastry.PastryNode)">killNode</A></B>(<A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A> pn)</CODE> <BR> kill a given node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#mainfunc(rice.pastry.testing.PastryRegrTest, java.lang.String[], int, int, int, int, int)">mainfunc</A></B>(<A HREF="../../../rice/pastry/testing/PastryRegrTest.html" title="class in rice.pastry.testing">PastryRegrTest</A> pt, java.lang.String[] args, int n, int d, int k, int m, int numConcJoins)</CODE> <BR> main</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>abstract void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#pause(int)">pause</A></B>(int ms)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected abstract void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#registerapp(rice.pastry.PastryNode, rice.pastry.testing.RegrTestApp)">registerapp</A></B>(<A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A> pn, <A HREF="../../../rice/pastry/testing/RegrTestApp.html" title="class in rice.pastry.testing">RegrTestApp</A> app)</CODE> <BR> wire protocol specific handling of the application object e.g., RMI may launch a new thread</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#sendPings(int)">sendPings</A></B>(int k)</CODE> <BR> Send messages among random message pairs.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected abstract boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../rice/pastry/testing/PastryRegrTest.html#simulate()">simulate</A></B>()</CODE> <BR> send one simulated message, or return false for a real wire protocol.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> <P> <!-- ============ FIELD DETAIL =========== --> <A NAME="field_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Field Detail</B></FONT></TH> </TR> </TABLE> <A NAME="factory"><!-- --></A><H3> factory</H3> <PRE> protected <A HREF="../../../rice/pastry/PastryNodeFactory.html" title="class in rice.pastry">PastryNodeFactory</A> <B>factory</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="pastryNodes"><!-- --></A><H3> pastryNodes</H3> <PRE> public java.util.Vector <B>pastryNodes</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="pastryNodesSorted"><!-- --></A><H3> pastryNodesSorted</H3> <PRE> public java.util.SortedMap <B>pastryNodesSorted</B></PRE> <DL> <DD>of Id <P> <DL> </DL> </DL> <HR> <A NAME="pastryNodesSortedReady"><!-- --></A><H3> pastryNodesSortedReady</H3> <PRE> public java.util.SortedMap <B>pastryNodesSortedReady</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="pastryNodesLastAdded"><!-- --></A><H3> pastryNodesLastAdded</H3> <PRE> public java.util.Vector <B>pastryNodesLastAdded</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="inConcJoin"><!-- --></A><H3> inConcJoin</H3> <PRE> public boolean <B>inConcJoin</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="lastMsg"><!-- --></A><H3> lastMsg</H3> <PRE> public <A HREF="../../../rice/pastry/messaging/Message.html" title="class in rice.pastry.messaging">Message</A> <B>lastMsg</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="lastDist"><!-- --></A><H3> lastDist</H3> <PRE> public <A HREF="../../../rice/pastry/Id.Distance.html" title="class in rice.pastry">Id.Distance</A> <B>lastDist</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="lastNode"><!-- --></A><H3> lastNode</H3> <PRE> public <A HREF="../../../rice/pastry/Id.html" title="class in rice.pastry">Id</A> <B>lastNode</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="environment"><!-- --></A><H3> environment</H3> <PRE> protected <A HREF="../../../rice/environment/Environment.html" title="class in rice.environment">Environment</A> <B>environment</B></PRE> <DL> <DL> </DL> </DL> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="PastryRegrTest(rice.environment.Environment)"><!-- --></A><H3> PastryRegrTest</H3> <PRE> protected <B>PastryRegrTest</B>(<A HREF="../../../rice/environment/Environment.html" title="class in rice.environment">Environment</A> env)</PRE> <DL> <DD>constructor <P> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="getBootstrap(boolean)"><!-- --></A><H3> getBootstrap</H3> <PRE> protected abstract <A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A> <B>getBootstrap</B>(boolean firstNode)</PRE> <DL> <DD>get a node handle to bootstrap from. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="registerapp(rice.pastry.PastryNode, rice.pastry.testing.RegrTestApp)"><!-- --></A><H3> registerapp</H3> <PRE> protected abstract void <B>registerapp</B>(<A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A> pn, <A HREF="../../../rice/pastry/testing/RegrTestApp.html" title="class in rice.pastry.testing">RegrTestApp</A> app)</PRE> <DL> <DD>wire protocol specific handling of the application object e.g., RMI may launch a new thread <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>pn</CODE> - pastry node<DD><CODE>app</CODE> - newly created application</DL> </DD> </DL> <HR> <A NAME="simulate()"><!-- --></A><H3> simulate</H3> <PRE> protected abstract boolean <B>simulate</B>()</PRE> <DL> <DD>send one simulated message, or return false for a real wire protocol. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="isReallyAlive(rice.pastry.NodeHandle)"><!-- --></A><H3> isReallyAlive</H3> <PRE> protected abstract boolean <B>isReallyAlive</B>(<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A> nh)</PRE> <DL> <DD>determine whether this node is really alive. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="killNode(rice.pastry.PastryNode)"><!-- --></A><H3> killNode</H3> <PRE> protected abstract void <B>killNode</B>(<A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A> pn)</PRE> <DL> <DD>kill a given node. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="generateNode(rice.pastry.NodeHandle)"><!-- --></A><H3> generateNode</H3> <PRE> protected <A HREF="../../../rice/pastry/PastryNode.html" title="class in rice.pastry">PastryNode</A> <B>generateNode</B>(<A HREF="../../../rice/pastry/NodeHandle.html" title="class in rice.pastry">NodeHandle</A> bootstrap)</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="pause(int)"><!-- --></A><H3> pause</H3> <PRE> public abstract void <B>pause</B>(int ms)</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="sendPings(int)"><!-- --></A><H3> sendPings</H3> <PRE> public void <B>sendPings</B>(int k)</PRE> <DL> <DD>Send messages among random message pairs. In each round, one message is sent from a random source node to a random destination; then, a second message is sent from a random source node with a random key (key is not necessaily the Id of an existing node) <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>k</CODE> - the number of rounds</DL> </DD> </DL> <HR> <A NAME="checkRoutingTable(rice.pastry.testing.RegrTestApp)"><!-- --></A><H3> checkRoutingTable</H3> <PRE> protected void <B>checkRoutingTable</B>(<A HREF="../../../rice/pastry/testing/RegrTestApp.html" title="class in rice.pastry.testing">RegrTestApp</A> rta)</PRE> <DL> <DD>verify the correctness of the routing table <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="mainfunc(rice.pastry.testing.PastryRegrTest, java.lang.String[], int, int, int, int, int)"><!-- --></A><H3> mainfunc</H3> <PRE> protected static void <B>mainfunc</B>(<A HREF="../../../rice/pastry/testing/PastryRegrTest.html" title="class in rice.pastry.testing">PastryRegrTest</A> pt, java.lang.String[] args, int n, int d, int k, int m, int numConcJoins)</PRE> <DL> <DD>main <P> <DD><DL> </DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PastryRegrTest.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> Rice Pastry API</EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../rice/pastry/testing/PastryNetworkTest.html" title="class in rice.pastry.testing"><B>PREV CLASS</B></A> <A HREF="../../../rice/pastry/testing/PastryTest.html" title="class in rice.pastry.testing"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?rice/pastry/testing/PastryRegrTest.html" target="_top"><B>FRAMES</B></A> <A HREF="PastryRegrTest.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> <i>Copyright © 2001-2005 - Rice Pastry.</i> </BODY> </HTML>