Rice Pastry API

rice.pastry.standard
Class PartitionHandler

java.lang.Object
  extended byrice.selector.TimerTask
      extended byrice.pastry.standard.PartitionHandler
All Implemented Interfaces:
CancellableTask, java.lang.Comparable, 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
 
Constructor Summary
PartitionHandler(PastryNode pn, DistPastryNodeFactory factory, java.net.InetSocketAddress[] bootstraps)
          Constructor for PartitionHandler.
 
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)
Constructor for PartitionHandler.

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

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection