Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## rice.pastry.testing
Class PartitionChecker

    java.lang.Object
      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(SocketPastryNodeFactory factory, java.net.InetSocketAddress bootstrap)`
`protected LeafSet` | `getLeafSet(NodeHandle nh)`
`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`

### getLeafSet

    protected LeafSet getLeafSet(NodeHandle nh)
                          throws java.io.IOException

  Throws:
    `java.io.IOException`

### buildRing

    protected rice.pastry.testing.PartitionChecker.Ring buildRing(SocketPastryNodeFactory 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 - Rice Pastry.