ostore.bloom
Class BloomStage

java.lang.Object
  |
  +--ostore.bloom.BloomStage
All Implemented Interfaces:
EventHandlerIF, SingleThreadedEventHandlerIF

public class BloomStage
extends Object
implements EventHandlerIF, SingleThreadedEventHandlerIF

The probabilistic location stage.

Version:
$Id: BloomStage.java,v 1.21 2003/02/19 10:32:30 hweather Exp $
Author:
Sean C. Rhea

Inner Class Summary
static class BloomStage.SendUpdateMsgTimeout
           
 
Constructor Summary
BloomStage()
           
 
Method Summary
 void destroy()
           
protected  void handle_static_begin_msg(StaticBeginMsg msg)
           
protected  void handle_static_ping_msg(StaticPingMsg msg)
           
 void handleEvent(QueueElementIF item)
           
 void handleEvents(QueueElementIF[] items)
           
 void init(ConfigDataIF config)
           
static BloomStage instance(NodeId node_id)
           
protected  void round_trip_done(long recv_time, NodeId peer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BloomStage

public BloomStage()
Method Detail

instance

public static BloomStage instance(NodeId node_id)

init

public void init(ConfigDataIF config)
          throws Exception
Specified by:
init in interface EventHandlerIF

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface EventHandlerIF

handleEvent

public void handleEvent(QueueElementIF item)
                 throws EventHandlerException
Specified by:
handleEvent in interface EventHandlerIF

handleEvents

public void handleEvents(QueueElementIF[] items)
                  throws EventHandlerException
Specified by:
handleEvents in interface EventHandlerIF

handle_static_ping_msg

protected void handle_static_ping_msg(StaticPingMsg msg)

round_trip_done

protected void round_trip_done(long recv_time,
                               NodeId peer)

handle_static_begin_msg

protected void handle_static_begin_msg(StaticBeginMsg msg)
                                throws EventHandlerException