ePOST API

rice.pastry.standard
Class PartitionHandler

java.lang.Object
  extended by rice.selector.TimerTask
      extended by rice.pastry.standard.PartitionHandler
All Implemented Interfaces:
java.lang.Comparable, CancellableTask, NodeSetListener

public class PartitionHandler
extends TimerTask
implements NodeSetListener


Field Summary
 
Fields inherited from class rice.selector.TimerTask
cancelled, fixedRate, nextExecutionTime, period
 
Constructor Summary
PartitionHandler(PastryNode pn, DistPastryNodeFactory factory, java.net.InetSocketAddress[] bootstraps)
           
 
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
 
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)
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)

ePOST API

Copyright © 2001-2005 - Rice Pastry.