<!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:33 CET 2009 --> <TITLE> ReplicationRegrTest (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="ReplicationRegrTest (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/ReplicationRegrTest.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"> PREV CLASS <A HREF="../../../../rice/p2p/replication/testing/ReplicationRegrTest.TestReplicationClient.html" title="class in rice.p2p.replication.testing"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?rice/p2p/replication/testing/ReplicationRegrTest.html" target="_top"><B>FRAMES</B></A> <A HREF="ReplicationRegrTest.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: <A HREF="#nested_class_summary">NESTED</A> | <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.p2p.replication.testing</FONT> <BR> Class ReplicationRegrTest</H2> <PRE> java.lang.Object <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html" title="class in rice.p2p.commonapi.testing">rice.p2p.commonapi.testing.CommonAPITest</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>rice.p2p.replication.testing.ReplicationRegrTest</B> </PRE> <HR> <DL> <DT><PRE>public class <B>ReplicationRegrTest</B><DT>extends <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html" title="class in rice.p2p.commonapi.testing">CommonAPITest</A></DL> </PRE> <P> <DL> <DT><B>Version:</B></DT> <DD>$Id: ReplicationRegrTest.java 4654 2009-01-08 16:33:07Z jeffh $</DD> <DT><B>Author:</B></DT> <DD>Alan Mislove</DD> </DL> <HR> <P> <!-- ======== NESTED CLASS SUMMARY ======== --> <A NAME="nested_class_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>Nested Class Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../rice/p2p/replication/testing/ReplicationRegrTest.TestReplicationClient.html" title="class in rice.p2p.replication.testing">ReplicationRegrTest.TestReplicationClient</A></B></CODE> <BR> DESCRIBE THE CLASS</TD> </TR> </TABLE> <!-- =========== 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/p2p/replication/testing/ReplicationRegrTest.TestReplicationClient.html" title="class in rice.p2p.replication.testing">ReplicationRegrTest.TestReplicationClient</A>[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../rice/p2p/replication/testing/ReplicationRegrTest.html#clients">clients</A></B></CODE> <BR> The clients</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../rice/p2p/replication/testing/ReplicationRegrTest.html#INSTANCE">INSTANCE</A></B></CODE> <BR> the instance name to use</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../rice/p2p/replication/testing/ReplicationRegrTest.html#REPLICATION_FACTOR">REPLICATION_FACTOR</A></B></CODE> <BR> The replication factor to use</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../../rice/p2p/replication/ReplicationImpl.html" title="class in rice.p2p.replication">ReplicationImpl</A>[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../rice/p2p/replication/testing/ReplicationRegrTest.html#replications">replications</A></B></CODE> <BR> the replication impls in the ring</TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_rice.p2p.commonapi.testing.CommonAPITest"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from class rice.p2p.commonapi.testing.<A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html" title="class in rice.p2p.commonapi.testing">CommonAPITest</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#BOOTSTRAP">BOOTSTRAP</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#BOOTSTRAP_PORT">BOOTSTRAP_PORT</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#environment">environment</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#factory">factory</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#FACTORY">FACTORY</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#FAILURE">FAILURE</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#idFactory">idFactory</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#INSTANCE_NAME">INSTANCE_NAME</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#LEASE_PERIOD">LEASE_PERIOD</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#logger">logger</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#nodes">nodes</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#NUM_NODES">NUM_NODES</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#PAD_SIZE">PAD_SIZE</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#params">params</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#PORT">PORT</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#PROTOCOL">PROTOCOL</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#PROTOCOL_DIRECT">PROTOCOL_DIRECT</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#PROTOCOL_RENDEZVOUS">PROTOCOL_RENDEZVOUS</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#PROTOCOL_SOCKET">PROTOCOL_SOCKET</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#simulator">simulator</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#SIMULATOR">SIMULATOR</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#SIMULATOR_EUCLIDEAN">SIMULATOR_EUCLIDEAN</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#SIMULATOR_GT_ITM">SIMULATOR_GT_ITM</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#SIMULATOR_SPHERE">SIMULATOR_SPHERE</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#SUCCESS">SUCCESS</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#TIME_TO_FIND_FAULTY">TIME_TO_FIND_FAULTY</A></CODE></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><CODE><B><A HREF="../../../../rice/p2p/replication/testing/ReplicationRegrTest.html#ReplicationRegrTest(rice.environment.Environment)">ReplicationRegrTest</A></B>(<A HREF="../../../../rice/environment/Environment.html" title="class in rice.environment">Environment</A> env)</CODE> <BR> Constructor which sets up all local variables</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>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../rice/p2p/replication/testing/ReplicationRegrTest.html#main(java.lang.String[])">main</A></B>(java.lang.String[] args)</CODE> <BR> Usage: ReplicationRegrTest [-port p] [-bootstrap host[:port]] [-nodes n] [-protocol (rmi|wire)] [-help]</TD> </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/p2p/replication/testing/ReplicationRegrTest.html#processNode(int, rice.p2p.commonapi.Node)">processNode</A></B>(int num, <A HREF="../../../../rice/p2p/commonapi/Node.html" title="interface in rice.p2p.commonapi">Node</A> node)</CODE> <BR> Method which should process the given newly-created node</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/p2p/replication/testing/ReplicationRegrTest.html#runMaintenance()">runMaintenance</A></B>()</CODE> <BR> </TD> </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/p2p/replication/testing/ReplicationRegrTest.html#runTest()">runTest</A></B>()</CODE> <BR> Method which should run the test - this is called once all of the nodes have been created and are ready.</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/p2p/replication/testing/ReplicationRegrTest.html#testBasic()">testBasic</A></B>()</CODE> <BR> Tests basic functionality</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/p2p/replication/testing/ReplicationRegrTest.html#testMaintenance()">testMaintenance</A></B>()</CODE> <BR> Tests maintenance functionality</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_rice.p2p.commonapi.testing.CommonAPITest"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class rice.p2p.commonapi.testing.<A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html" title="class in rice.p2p.commonapi.testing">CommonAPITest</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#assertEquals(java.lang.String, java.lang.Object, java.lang.Object)">assertEquals</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#assertTrue(java.lang.String, boolean)">assertTrue</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#createNode(int)">createNode</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#createNodes()">createNodes</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#getBootstrap()">getBootstrap</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#kill(int)">kill</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#parseArgs(java.lang.String[])">parseArgs</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#pause(int)">pause</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#sectionDone()">sectionDone</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#sectionStart(java.lang.String)">sectionStart</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#setupParams(rice.environment.Environment)">setupParams</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#simulate()">simulate</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#simulate(int)">simulate</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#start()">start</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#stepDone()">stepDone</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#stepDone(java.lang.String)">stepDone</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#stepDone(java.lang.String, java.lang.String)">stepDone</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#stepException(java.lang.Exception)">stepException</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#stepStart(java.lang.String)">stepStart</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#waitOnClock(int)">waitOnClock</A>, <A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#waitToRecoverFromKilling(int)">waitToRecoverFromKilling</A></CODE></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="REPLICATION_FACTOR"><!-- --></A><H3> REPLICATION_FACTOR</H3> <PRE> public static final int <B>REPLICATION_FACTOR</B></PRE> <DL> <DD>The replication factor to use <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#rice.p2p.replication.testing.ReplicationRegrTest.REPLICATION_FACTOR">Constant Field Values</A></DL> </DL> <HR> <A NAME="INSTANCE"><!-- --></A><H3> INSTANCE</H3> <PRE> public static java.lang.String <B>INSTANCE</B></PRE> <DL> <DD>the instance name to use <P> <DL> </DL> </DL> <HR> <A NAME="replications"><!-- --></A><H3> replications</H3> <PRE> protected <A HREF="../../../../rice/p2p/replication/ReplicationImpl.html" title="class in rice.p2p.replication">ReplicationImpl</A>[] <B>replications</B></PRE> <DL> <DD>the replication impls in the ring <P> <DL> </DL> </DL> <HR> <A NAME="clients"><!-- --></A><H3> clients</H3> <PRE> protected <A HREF="../../../../rice/p2p/replication/testing/ReplicationRegrTest.TestReplicationClient.html" title="class in rice.p2p.replication.testing">ReplicationRegrTest.TestReplicationClient</A>[] <B>clients</B></PRE> <DL> <DD>The clients <P> <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="ReplicationRegrTest(rice.environment.Environment)"><!-- --></A><H3> ReplicationRegrTest</H3> <PRE> public <B>ReplicationRegrTest</B>(<A HREF="../../../../rice/environment/Environment.html" title="class in rice.environment">Environment</A> env) throws java.io.IOException</PRE> <DL> <DD>Constructor which sets up all local variables <P> <DL> <DT><B>Throws:</B> <DD><CODE>java.io.IOException</CODE></DL> </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="main(java.lang.String[])"><!-- --></A><H3> main</H3> <PRE> public static void <B>main</B>(java.lang.String[] args) throws java.io.IOException</PRE> <DL> <DD>Usage: ReplicationRegrTest [-port p] [-bootstrap host[:port]] [-nodes n] [-protocol (rmi|wire)] [-help] <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>args</CODE> - DESCRIBE THE PARAMETER <DT><B>Throws:</B> <DD><CODE>java.io.IOException</CODE></DL> </DD> </DL> <HR> <A NAME="processNode(int, rice.p2p.commonapi.Node)"><!-- --></A><H3> processNode</H3> <PRE> protected void <B>processNode</B>(int num, <A HREF="../../../../rice/p2p/commonapi/Node.html" title="interface in rice.p2p.commonapi">Node</A> node)</PRE> <DL> <DD>Method which should process the given newly-created node <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#processNode(int, rice.p2p.commonapi.Node)">processNode</A></CODE> in class <CODE><A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html" title="class in rice.p2p.commonapi.testing">CommonAPITest</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>node</CODE> - The newly created node<DD><CODE>num</CODE> - The number of this node</DL> </DD> </DL> <HR> <A NAME="runTest()"><!-- --></A><H3> runTest</H3> <PRE> protected void <B>runTest</B>()</PRE> <DL> <DD>Method which should run the test - this is called once all of the nodes have been created and are ready. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html#runTest()">runTest</A></CODE> in class <CODE><A HREF="../../../../rice/p2p/commonapi/testing/CommonAPITest.html" title="class in rice.p2p.commonapi.testing">CommonAPITest</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="testBasic()"><!-- --></A><H3> testBasic</H3> <PRE> public void <B>testBasic</B>()</PRE> <DL> <DD>Tests basic functionality <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="testMaintenance()"><!-- --></A><H3> testMaintenance</H3> <PRE> public void <B>testMaintenance</B>()</PRE> <DL> <DD>Tests maintenance functionality <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="runMaintenance()"><!-- --></A><H3> runMaintenance</H3> <PRE> public void <B>runMaintenance</B>()</PRE> <DL> <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/ReplicationRegrTest.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"> PREV CLASS <A HREF="../../../../rice/p2p/replication/testing/ReplicationRegrTest.TestReplicationClient.html" title="class in rice.p2p.replication.testing"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?rice/p2p/replication/testing/ReplicationRegrTest.html" target="_top"><B>FRAMES</B></A> <A HREF="ReplicationRegrTest.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: <A HREF="#nested_class_summary">NESTED</A> | <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>