FreePastry/docs/javadoc/rice/p2p/replication/manager/testing/ReplicationManagerRegrTest.html
ChronosX88 aaa73fe8b3 Pew
2019-05-13 16:45:05 +04:00

581 lines
28 KiB
HTML

<!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:17 CET 2009 -->
<TITLE>
ReplicationManagerRegrTest (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="ReplicationManagerRegrTest (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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ReplicationManagerRegrTest.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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">
&nbsp;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../../../rice/p2p/replication/manager/testing/ReplicationManagerRegrTest.TestReplicationManagerClient.html" title="class in rice.p2p.replication.manager.testing"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?rice/p2p/replication/manager/testing/ReplicationManagerRegrTest.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="ReplicationManagerRegrTest.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<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:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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.manager.testing</FONT>
<BR>
Class ReplicationManagerRegrTest</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.manager.testing.ReplicationManagerRegrTest</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>ReplicationManagerRegrTest</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: ReplicationManagerRegrTest.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 &nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../rice/p2p/replication/manager/testing/ReplicationManagerRegrTest.TestReplicationManagerClient.html" title="class in rice.p2p.replication.manager.testing">ReplicationManagerRegrTest.TestReplicationManagerClient</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DESCRIBE THE CLASS</TD>
</TR>
</TABLE>
&nbsp;<!-- =========== 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 &nbsp;<A HREF="../../../../../rice/p2p/replication/manager/testing/ReplicationManagerRegrTest.TestReplicationManagerClient.html" title="class in rice.p2p.replication.manager.testing">ReplicationManagerRegrTest.TestReplicationManagerClient</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../rice/p2p/replication/manager/testing/ReplicationManagerRegrTest.html#clients">clients</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The clients</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../rice/p2p/replication/manager/testing/ReplicationManagerRegrTest.html#INSTANCE">INSTANCE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the instance name to use</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../rice/p2p/replication/manager/testing/ReplicationManagerRegrTest.html#REPLICATION_FACTOR">REPLICATION_FACTOR</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The replication factor to use</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../../rice/p2p/replication/manager/ReplicationManagerImpl.html" title="class in rice.p2p.replication.manager">ReplicationManagerImpl</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../rice/p2p/replication/manager/testing/ReplicationManagerRegrTest.html#replications">replications</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the replication impls in the ring</TD>
</TR>
</TABLE>
&nbsp;<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>
&nbsp;
<!-- ======== 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/manager/testing/ReplicationManagerRegrTest.html#ReplicationManagerRegrTest(rice.environment.Environment)">ReplicationManagerRegrTest</A></B>(<A HREF="../../../../../rice/environment/Environment.html" title="class in rice.environment">Environment</A>&nbsp;env)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor which sets up all local variables</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== 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&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../rice/p2p/replication/manager/testing/ReplicationManagerRegrTest.html#main(java.lang.String[])">main</A></B>(java.lang.String[]&nbsp;args)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../rice/p2p/replication/manager/testing/ReplicationManagerRegrTest.html#printValsForRange(rice.p2p.commonapi.IdRange)">printValsForRange</A></B>(<A HREF="../../../../../rice/p2p/commonapi/IdRange.html" title="interface in rice.p2p.commonapi">IdRange</A>&nbsp;range)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../rice/p2p/replication/manager/testing/ReplicationManagerRegrTest.html#processNode(int, rice.p2p.commonapi.Node)">processNode</A></B>(int&nbsp;num,
<A HREF="../../../../../rice/p2p/commonapi/Node.html" title="interface in rice.p2p.commonapi">Node</A>&nbsp;node)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../rice/p2p/replication/manager/testing/ReplicationManagerRegrTest.html#runMaintenance()">runMaintenance</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../rice/p2p/replication/manager/testing/ReplicationManagerRegrTest.html#runTest()">runTest</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../rice/p2p/replication/manager/testing/ReplicationManagerRegrTest.html#testBasic()">testBasic</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tests basic functionality</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../rice/p2p/replication/manager/testing/ReplicationManagerRegrTest.html#testMaintenance()">testMaintenance</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tests maintenance functionality</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../rice/p2p/replication/manager/testing/ReplicationManagerRegrTest.html#testOverload()">testOverload</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tests basic functionality</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../rice/p2p/replication/manager/testing/ReplicationManagerRegrTest.html#testStress()">testStress</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tests basic functionality</TD>
</TR>
</TABLE>
&nbsp;<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>
&nbsp;<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>
&nbsp;
<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.manager.testing.ReplicationManagerRegrTest.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/manager/ReplicationManagerImpl.html" title="class in rice.p2p.replication.manager">ReplicationManagerImpl</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/manager/testing/ReplicationManagerRegrTest.TestReplicationManagerClient.html" title="class in rice.p2p.replication.manager.testing">ReplicationManagerRegrTest.TestReplicationManagerClient</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="ReplicationManagerRegrTest(rice.environment.Environment)"><!-- --></A><H3>
ReplicationManagerRegrTest</H3>
<PRE>
public <B>ReplicationManagerRegrTest</B>(<A HREF="../../../../../rice/environment/Environment.html" title="class in rice.environment">Environment</A>&nbsp;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[]&nbsp;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&nbsp;num,
<A HREF="../../../../../rice/p2p/commonapi/Node.html" title="interface in rice.p2p.commonapi">Node</A>&nbsp;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="testOverload()"><!-- --></A><H3>
testOverload</H3>
<PRE>
public void <B>testOverload</B>()</PRE>
<DL>
<DD>Tests basic functionality
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="testStress()"><!-- --></A><H3>
testStress</H3>
<PRE>
public void <B>testStress</B>()</PRE>
<DL>
<DD>Tests basic functionality
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="printValsForRange(rice.p2p.commonapi.IdRange)"><!-- --></A><H3>
printValsForRange</H3>
<PRE>
public void <B>printValsForRange</B>(<A HREF="../../../../../rice/p2p/commonapi/IdRange.html" title="interface in rice.p2p.commonapi">IdRange</A>&nbsp;range)</PRE>
<DL>
<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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ReplicationManagerRegrTest.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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">
&nbsp;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../../../rice/p2p/replication/manager/testing/ReplicationManagerRegrTest.TestReplicationManagerClient.html" title="class in rice.p2p.replication.manager.testing"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?rice/p2p/replication/manager/testing/ReplicationManagerRegrTest.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="ReplicationManagerRegrTest.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<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:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<i>Copyright &#169; 2001-2005 - Rice Pastry.</i>
</BODY>
</HTML>