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.standard
Class PartitionHandler

    java.lang.Object
      rice.selector.TimerTask
          rice.pastry.standard.PartitionHandler

All Implemented Interfaces:
  java.lang.Comparable, CancellableTask, NodeSetListener

    public class PartitionHandler

extends TimerTask
implements NodeSetListener

DESCRIBE THE CLASS

Version:
  $Id: pretty.settings 2305 2005-03-11 20:22:33Z jeffh $
Author:
  jeffh

Field Summary

Fields inherited from class rice.selector.TimerTask
`cancelled, fixedRate, nextExecutionTime, period, seq`

Constructor Summary
`PartitionHandler(PastryNode pn, DistPastryNodeFactory factory, java.net.InetSocketAddress[] bootstraps)` You must call start after construction!!!

Method Summary
`void` | `nodeSetUpdate(NodeSetEventSource nodeSetEventSource, NodeHandle handle, boolean added)` DESCRIBE THE METHOD
`void` | `run()` Main processing method for the PartitionHandler object
`void` | `start(Timer timer)` DESCRIBE THE METHOD

Methods inherited from class rice.selector.TimerTask
`cancel, compareTo, execute, isCancelled, scheduledExecutionTime`

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

Constructor Detail

### PartitionHandler

    public PartitionHandler(PastryNode pn,
                            DistPastryNodeFactory factory,
                            java.net.InetSocketAddress[] bootstraps)

  You must call start after construction!!!

  Parameters:
    `pn` - DESCRIBE THE PARAMETER
    `factory` - DESCRIBE THE PARAMETER
    `bootstraps` - DESCRIBE THE PARAMETER

Method Detail

### run

    public void run()

  Main processing method for the PartitionHandler object

  Specified by:
    `run` in interface `CancellableTask`
  Specified by:
    `run` in class `TimerTask`

### nodeSetUpdate

    public void nodeSetUpdate(NodeSetEventSource nodeSetEventSource,
                              NodeHandle handle,
                              boolean added)

  DESCRIBE THE METHOD

  Specified by:
    `nodeSetUpdate` in interface `NodeSetListener`
  Parameters:
    `nodeSetEventSource` - DESCRIBE THE PARAMETER
    `handle` - DESCRIBE THE PARAMETER
    `added` - DESCRIBE THE PARAMETER

### start

    public void start(Timer timer)

  DESCRIBE THE METHOD

  Parameters:
    `timer` - DESCRIBE THE PARAMETER

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.