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
Fields inherited from class teetime.framework.AbstractConsumerStage
inputPortFields inherited from class teetime.framework.AbstractStage
logger -
Constructor Summary
ConstructorsConstructorDescriptionMonitoringThroughputStage(long intervalSize) Creates a new instance of this class using the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(IMonitoringRecord record) teetime.framework.OutputPort<IMonitoringRecord>teetime.framework.OutputPort<Long>teetime.framework.OutputPort<IMonitoringRecord>Methods inherited from class teetime.framework.AbstractConsumerStage
createInputPort, execute, getInputPortMethods 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:
executein classteetime.framework.AbstractConsumerStage<IMonitoringRecord>
-
getUncountedRecordsOutputPort
-
getThroughputOutputPort
-
getRelayedRecordsOutputPort
-