rice.pastry.testing
Class PastryNetworkTest
java.lang.Object
rice.pastry.testing.PastryNetworkTest
public class PastryNetworkTest
- extends java.lang.Object
Utility class for checking the consistency of an existing pastry
network.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
protected SocketPastryNodeFactory factory
bootstrap
protected java.net.InetSocketAddress bootstrap
nodes
protected java.util.HashSet nodes
dead
protected java.util.HashSet dead
unknown
protected java.util.HashSet unknown
MAX_THREADS
protected final int MAX_THREADS
- See Also:
- Constant Field Values
environment
protected Environment environment
PastryNetworkTest
public PastryNetworkTest(Environment env,
SocketPastryNodeFactory factory,
java.net.InetSocketAddress bootstrap)
fetchLeafSets
protected java.util.HashMap fetchLeafSets()
throws java.lang.Exception
- Throws:
java.lang.Exception
testLeafSets
protected void testLeafSets()
throws java.lang.Exception
- Throws:
java.lang.Exception
fetchRouteRow
protected java.util.HashMap fetchRouteRow(int row)
throws java.io.IOException
- Throws:
java.io.IOException
testRouteRow
protected void testRouteRow(int row)
throws java.io.IOException
- Throws:
java.io.IOException
testRoutingTables
protected void testRoutingTables()
throws java.lang.Exception
- Throws:
java.lang.Exception
start
public void start()
throws java.lang.Exception
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2001-2005 - Rice Pastry.