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, Cancellable, CancellableTask, NodeSetListener

    public class PartitionHandler

extends TimerTask
implements NodeSetListener

Field Summary

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

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

Method Summary
`void` | `nodeSetUpdate(NodeSetEventSource nodeSetEventSource, NodeHandle handle, boolean added)`
`void` | `run()`
`void` | `start(Timer timer)`

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

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,
                            SocketPastryNodeFactory factory,
                            java.net.InetSocketAddress[] bootstraps)

  You must call start after construction!!!

Method Detail

### run

    public void run()

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

### nodeSetUpdate

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

  Specified by:
    `nodeSetUpdate` in interface `NodeSetListener`

### start

    public void start(Timer timer)

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.