dd.trigger
Class TriggerTester

java.lang.Object
  |
  +--ostore.util.StandardStage
        |
        +--dd.trigger.TriggerTester
All Implemented Interfaces:
EventHandlerIF, SingleThreadedEventHandlerIF

public class TriggerTester
extends StandardStage
implements SingleThreadedEventHandlerIF

TriggerTester test the correctness constraints of the TriggerStage.

Version:
$Id: TriggerTester.java,v 1.7 2004/05/19 06:33:43 hweather Exp $
Author:
Hakim Weatherspoon
See Also:
TriggerStage

Nested Class Summary
static class TriggerTester.FoundMsg
          FoundMsg is the servers response to a LocateMsg and containing either a generic object.
static class TriggerTester.LocateMsg
          Message of type DDLocateMsg.
static class TriggerTester.Query
          Query is a DDQuery used in a DDLocateMsg of type LocateMsg to locate generic objects.
static class TriggerTester.QueryState
          QueryState is a wrapper class for the state passed along with the Query of type DDQuery used in a DDLocateMsg used to find generic objects.
static class TriggerTester.RepairReq
          RepairReq is request sent by the leader node responsible for coordinating the repair of an object replicated on a set of nodes.
static class TriggerTester.RepairResp
          RepairResp is request sent by the leader node responsible for coordinating the repair of an object replicated on a set of nodes.
static class TriggerTester.Tag
          Tag is the DDThresholdTag for generic objects.
 
Field Summary
 
Fields inherited from class ostore.util.StandardStage
classifier, DEBUG, event_types, inb_msg_types, logger, my_node_id, my_sink, outb_msg_types, resender, resender_tokens, serializable_types, sim_running, tag
 
Constructor Summary
TriggerTester()
          Constructor: Creates a new TriggerTester stage.
 
Method Summary
 void handleEvent(QueueElementIF item)
          Specified by seda.sandStorm.api.EventHandlerIF
 void init(ConfigDataIF config)
          Specified by seda.sandStorm.api.EventHandlerIF
 
Methods inherited from class ostore.util.StandardStage
BUG, BUG, BUG, destroy, dispatch, enqueue, handleEvents, now_ms, now_us
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TriggerTester

public TriggerTester()
              throws Exception
Constructor: Creates a new TriggerTester stage.

Method Detail

handleEvent

public void handleEvent(QueueElementIF item)
                 throws EventHandlerException
Specified by seda.sandStorm.api.EventHandlerIF

Specified by:
handleEvent in interface EventHandlerIF
EventHandlerException

init

public void init(ConfigDataIF config)
          throws Exception
Specified by seda.sandStorm.api.EventHandlerIF

Specified by:
init in interface EventHandlerIF
Overrides:
init in class StandardStage
Exception