Package kieker.analysis.generic
Class MonitoringThroughputStage
java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<IMonitoringRecord>
kieker.analysis.generic.MonitoringThroughputStage
public class MonitoringThroughputStage extends teetime.framework.AbstractConsumerStage<IMonitoringRecord>
An instance of this class computes the throughput in terms of the number of records logged within the monitoring instance per time unit.
- Since:
- 1.8
- Author:
- Andre van Hoorn, Jan Waller, Lars Bluemke
-
Field Summary
-
Constructor Summary
Constructors Constructor Description MonitoringThroughputStage(long intervalSize)
Creates a new instance of this class using the given parameters. -
Method Summary
Modifier and Type Method Description protected void
execute(IMonitoringRecord record)
teetime.framework.OutputPort<IMonitoringRecord>
getRelayedRecordsOutputPort()
teetime.framework.OutputPort<java.lang.Long>
getThroughputOutputPort()
teetime.framework.OutputPort<IMonitoringRecord>
getUncountedRecordsOutputPort()
Methods inherited from class teetime.framework.AbstractConsumerStage
createInputPort, execute, getInputPort
Methods inherited from class teetime.framework.AbstractStage
abort, addInputPortRemovedListener, addOutputPortRemovedListener, compareAndSetBeingExecuted, createInputPort, createInputPort, createInputPort, createOutputPort, createOutputPort, createOutputPort, createOutputPort, declareActive, declarePassive, executeByFramework, getCurrentState, getId, getInputPorts, getOutputPorts, getOwningThread, getTerminationStrategy, isActive, isBeingExecuted, isPaused, isProducer, isStateless, onSignal, onStarting, onTerminating, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompleted
-
Constructor Details
-
MonitoringThroughputStage
public MonitoringThroughputStage(long intervalSize)Creates a new instance of this class using the given parameters.- Parameters:
intervalSize
- Determines the interval size. Choose a proper time unit.
-
-
Method Details
-
execute
- Specified by:
execute
in classteetime.framework.AbstractConsumerStage<IMonitoringRecord>
-
getUncountedRecordsOutputPort
-
getThroughputOutputPort
public teetime.framework.OutputPort<java.lang.Long> getThroughputOutputPort() -
getRelayedRecordsOutputPort
-