ePOST API

rice.pastry.testing
Class PartitionChecker

java.lang.Object
  extended by rice.pastry.testing.PartitionChecker

public class PartitionChecker
extends java.lang.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

Field Summary
protected  int MAX_THREADS
           
 
Constructor Summary
PartitionChecker(java.lang.String ringIdString)
           
 
Method Summary
protected  void buildBootstrapSetFromCert(java.lang.String ringIdString)
           
protected  rice.pastry.testing.PartitionChecker.Ring buildRing(DistPastryNodeFactory factory, java.net.InetSocketAddress bootstrap)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_THREADS

protected final int MAX_THREADS
See Also:
Constant Field Values
Constructor Detail

PartitionChecker

public PartitionChecker(java.lang.String ringIdString)
                 throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

buildBootstrapSetFromCert

protected void buildBootstrapSetFromCert(java.lang.String ringIdString)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

buildRing

protected rice.pastry.testing.PartitionChecker.Ring buildRing(DistPastryNodeFactory factory,
                                                              java.net.InetSocketAddress bootstrap)
                                                       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

ePOST API

Copyright © 2001-2005 - Rice Pastry.