rice.pastry.testing
Class PastryNetworkTest
java.lang.Object
rice.pastry.testing.PastryNetworkTest
public class PastryNetworkTest
- extends 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 InetSocketAddress bootstrap
nodes
protected HashSet nodes
dead
protected HashSet dead
unknown
protected 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,
InetSocketAddress bootstrap)
fetchLeafSets
protected HashMap fetchLeafSets()
throws Exception
- Throws:
Exception
testLeafSets
protected void testLeafSets()
throws Exception
- Throws:
Exception
fetchRouteRow
protected HashMap fetchRouteRow(int row)
throws IOException
- Throws:
IOException
testRouteRow
protected void testRouteRow(int row)
throws IOException
- Throws:
IOException
testRoutingTables
protected void testRoutingTables()
throws Exception
- Throws:
Exception
start
public void start()
throws Exception
- Throws:
Exception
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2010. All Rights Reserved.