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.dist
Class DistNodeHandlePool

    java.lang.Object
      rice.pastry.dist.DistNodeHandlePool

Direct Known Subclasses:
  SocketNodeHandlePool

public abstract class DistNodeHandlePool
extends java.lang.Object

The DistNodeHandlePool controls all of the node handles in use by the DistPastryNode. It ensures that there is only one "active" node handle for each remote pastry node.

Version:
  $Id: DistNodeHandlePool.java,v 1.2 2005/03/11 00:58:01 jeffh Exp $
Author:
  Alan Mislove

Constructor Summary
`DistNodeHandlePool()` Constructor.

Method Summary
`abstract DistNodeHandle` | `coalesce(DistNodeHandle handle)` The method verifies a DistNodeHandle.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DistNodeHandlePool

    public DistNodeHandlePool()

  Constructor.

Method Detail

### coalesce

    public abstract DistNodeHandle coalesce(DistNodeHandle handle)

  The method verifies a DistNodeHandle. If a node handle to the pastry node has never been seen before, an entry is added, and this node handle is referred to in the future. Otherwise, this method returns the previously verified node handle to the pastry node.

  Parameters:
    `handle` - The node handle to verify.
  Returns:
    The node handle to use to talk to the pastry node.

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.