Package kieker.analysis.generic
Class AnalysisThroughputStage
java.lang.Object
teetime.framework.AbstractStage
kieker.analysis.generic.AnalysisThroughputStage
public class AnalysisThroughputStage
extends teetime.framework.AbstractStage
An instance of this class computes the throughput in terms of the number of
objects received per time unit.
- Since:
- 1.8
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AnalysisThroughputStage()Default constructor. -
Method Summary
Modifier and Type Method Description protected voidexecute()teetime.framework.InputPort<kieker.common.record.IMonitoringRecord>getRecordsInputPort()teetime.framework.OutputPort<kieker.common.record.IMonitoringRecord>getRecordsOutputPort()teetime.framework.OutputPort<java.lang.Double>getThroughputOutputPort()teetime.framework.InputPort<java.lang.Long>getTimestampsInputPort()protected voidonStarting()Methods inherited from class teetime.framework.AbstractStage
abort, addInputPortRemovedListener, addOutputPortRemovedListener, compareAndSetBeingExecuted, createInputPort, createInputPort, createInputPort, createInputPort, createOutputPort, createOutputPort, createOutputPort, createOutputPort, declareActive, declarePassive, executeByFramework, getCurrentState, getId, getInputPorts, getOutputPorts, getOwningThread, getTerminationStrategy, isActive, isBeingExecuted, isPaused, isProducer, isStateless, onSignal, onTerminating, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompleted
-
Constructor Details
-
AnalysisThroughputStage
public AnalysisThroughputStage()Default constructor.
-
-
Method Details
-
execute
protected void execute()- Specified by:
executein classteetime.framework.AbstractStage
-
onStarting
protected void onStarting()- Overrides:
onStartingin classteetime.framework.AbstractStage
-
getRecordsInputPort
public teetime.framework.InputPort<kieker.common.record.IMonitoringRecord> getRecordsInputPort() -
getTimestampsInputPort
public teetime.framework.InputPort<java.lang.Long> getTimestampsInputPort() -
getRecordsOutputPort
public teetime.framework.OutputPort<kieker.common.record.IMonitoringRecord> getRecordsOutputPort() -
getThroughputOutputPort
public teetime.framework.OutputPort<java.lang.Double> getThroughputOutputPort()
-