seda.sandStorm.test.bench.simple_sa
Class ClientStageMulticlass
java.lang.Object
seda.sandStorm.test.bench.simple_sa.ClientStage
seda.sandStorm.test.bench.simple_sa.ClientStageMulticlass
- All Implemented Interfaces:
- EventHandlerIF, SimpleP2PConst
public class ClientStageMulticlass
- extends ClientStage
- implements EventHandlerIF, SimpleP2PConst
Fields inherited from class seda.sandStorm.test.bench.simple_sa.ClientStage |
arrivals, BUCKETSIZE, compQ, CONSTANT_RATE, cur_seqNum, first_mt, injectTimeStats, interArrivalTimeStats, last_inject_time, MIN_DELAY, MS_WAIT, MSGS_PER_SEND, msgTbl, NUM_MSGS, rand, RATE, recvSink, REPORT_SAMPLES, sendEvents, SKIP_SAMPLES, SPIN_SEND_THREAD, t_end, t_last, t_start, timer, total_completed, total_rcv, total_rejected, WARMUP_FRAC, WARMUP_MSGS |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
private static final boolean DEBUG
- See Also:
- Constant Field Values
VERBOSE
private static final boolean VERBOSE
- See Also:
- Constant Field Values
CLASS_PROBS
private static final double[] CLASS_PROBS
CLASS_DEADLINES
private static final double[] CLASS_DEADLINES
respStats
protected seda.util.StatsGatherer[] respStats
timeoutStats
protected seda.util.StatsGatherer[] timeoutStats
continuousRespStats
protected seda.util.StatsGatherer[] continuousRespStats
rejectedRespStats
protected seda.util.StatsGatherer[] rejectedRespStats
ClientStageMulticlass
public ClientStageMulticlass()
init
public void init(ConfigDataIF config)
throws java.lang.Exception
- Description copied from interface:
EventHandlerIF
- Called when an event handler is initialized. This method should
perform any initialization operations as required by the application.
- Specified by:
init
in interface EventHandlerIF
- Overrides:
init
in class ClientStage
- Parameters:
config
- The set of configuration parameters for the stage.
- Throws:
java.lang.Exception
- The EventHandler can indicate an
error to the runtime during initialization by throwing an
Exception.
doneWithMsg
protected void doneWithMsg(Message msg,
ClientStage.MessageTimer mt,
long cur_time)
- Overrides:
doneWithMsg
in class ClientStage
resetStats
protected void resetStats()
- Overrides:
resetStats
in class ClientStage
createMSE
protected ClientStage.MessageSendEvent createMSE(int num_msgs)
- Overrides:
createMSE
in class ClientStage
doReport
protected void doReport(long t1,
long t2)
- Overrides:
doReport
in class ClientStage