Class MonitoringThroughputStage

java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<kieker.common.record.IMonitoringRecord>
kieker.analysis.generic.MonitoringThroughputStage

public class MonitoringThroughputStage
extends teetime.framework.AbstractConsumerStage<kieker.common.record.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
  • 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 execute​(kieker.common.record.IMonitoringRecord record)  
    teetime.framework.OutputPort<kieker.common.record.IMonitoringRecord> getRelayedRecordsOutputPort()  
    teetime.framework.OutputPort<java.lang.Long> getThroughputOutputPort()  
    teetime.framework.OutputPort<kieker.common.record.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

    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​(kieker.common.record.IMonitoringRecord record)
      Specified by:
      execute in class teetime.framework.AbstractConsumerStage<kieker.common.record.IMonitoringRecord>
    • getUncountedRecordsOutputPort

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

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

      public teetime.framework.OutputPort<kieker.common.record.IMonitoringRecord> getRelayedRecordsOutputPort()