ostore.bloom
Class SimulatedReplica
java.lang.Object
|
+--ostore.bloom.SimulatedReplica
- All Implemented Interfaces:
- EventHandlerIF
- public class SimulatedReplica
- extends Object
- implements EventHandlerIF
The probabilistic location stage.
- Version:
- $Id: SimulatedReplica.java,v 1.9 2003/02/19 10:32:30 hweather Exp $
- Author:
- Sean C. Rhea
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimulatedReplica
public SimulatedReplica()
instance
public static SimulatedReplica instance(NodeId node_id)
closest_replica_lat_ms
public long closest_replica_lat_ms(SecureHash guid)
closest_replica_xfer_ms
public long closest_replica_xfer_ms(SecureHash guid)
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_init
public void handle_init(StagesInitializedSignal signal)
handle_tapestry_ready
public void handle_tapestry_ready(TapestryReadyMsg msg)
handle_simulated_read_resp
public void handle_simulated_read_resp(SimulatedReadResp read)
handle_simulated_read
public void handle_simulated_read(SimulatedRead read)
handle_disk_read_finished
public void handle_disk_read_finished(SimulatedReplica.DiskReadFinished fin)