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

    inputPort

    Fields inherited from class teetime.framework.AbstractStage

    logger
  • 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
     
    teetime.framework.OutputPort<IMonitoringRecord>
     
    teetime.framework.OutputPort<Long>
     
    teetime.framework.OutputPort<IMonitoringRecord>
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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

      protected void execute(IMonitoringRecord record)
      Specified by:
      execute in class teetime.framework.AbstractConsumerStage<IMonitoringRecord>
    • getUncountedRecordsOutputPort

      public teetime.framework.OutputPort<IMonitoringRecord> getUncountedRecordsOutputPort()
    • getThroughputOutputPort

      public teetime.framework.OutputPort<Long> getThroughputOutputPort()
    • getRelayedRecordsOutputPort

      public teetime.framework.OutputPort<IMonitoringRecord> getRelayedRecordsOutputPort()