rice.pastry.testing
Class PartitionChecker
java.lang.Object
rice.pastry.testing.PartitionChecker
public class PartitionChecker
- extends Object
Pass in a certificate which contains bootstrap nodes.
Output is an ordered list of independent rings, and which bootstrap nodes belong
to each.
- Author:
- Jeff Hoye
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_THREADS
protected final int MAX_THREADS
- See Also:
- Constant Field Values
PartitionChecker
public PartitionChecker(String ringIdString)
throws Exception
- Throws:
Exception
buildBootstrapSetFromCert
protected void buildBootstrapSetFromCert(String ringIdString)
throws Exception
- Throws:
Exception
getLeafSet
protected LeafSet getLeafSet(NodeHandle nh)
throws IOException
- Throws:
IOException
buildRing
protected rice.pastry.testing.PartitionChecker.Ring buildRing(SocketPastryNodeFactory factory,
InetSocketAddress bootstrap)
throws Exception
- Throws:
Exception
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2010. All Rights Reserved.