Class AbstractEventRecordTraceReconstructionStage

java.lang.Object
teetime.framework.AbstractStage
kieker.analysis.architecture.trace.flow.AbstractEventRecordTraceReconstructionStage
Direct Known Subclasses:
EventRecordTraceReconstructionStage, TraceRecordsTraceReconstructionStage

public abstract class AbstractEventRecordTraceReconstructionStage
extends teetime.framework.AbstractStage
Trace Reconstruction Filter (Event) to reconstruct event based (flow) traces.
Since:
1.6
  • Field Summary

    Fields inherited from class teetime.framework.AbstractStage

    logger
  • Constructor Summary

    Constructors 
    Constructor Description
    AbstractEventRecordTraceReconstructionStage​(java.util.concurrent.TimeUnit timeUnit, boolean repairEventBasedTraces, long maxTraceDuration, long maxTraceTimeout)
    Creates a new instance of this class using the given parameters.
  • Method Summary

    Modifier and Type Method Description
    protected void execute()  
    teetime.framework.OutputPort<TraceEventRecords> getInvalidTracesOutputPort()  
    teetime.framework.InputPort<java.lang.Long> getTimestampsInputPort()  
    teetime.framework.OutputPort<TraceEventRecords> getValidTracesOutputPort()  
    protected void newFlowRecordEvent​(kieker.common.record.flow.IFlowRecord record)
    This method is the input port for the new events for this filter.
    protected void onTerminating()

    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, onStarting, 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

    • AbstractEventRecordTraceReconstructionStage

      public AbstractEventRecordTraceReconstructionStage​(java.util.concurrent.TimeUnit timeUnit, boolean repairEventBasedTraces, long maxTraceDuration, long maxTraceTimeout)
      Creates a new instance of this class using the given parameters.
      Parameters:
      timeUnit - property determining the time unit
      repairEventBasedTraces - repair traces where AfterEvents are missing
      maxTraceDuration - max trace duration
      maxTraceTimeout - max trace timeout, if set to Long.MAX_VALUE no timeout is used
  • Method Details

    • execute

      protected void execute() throws java.lang.Exception
      Specified by:
      execute in class teetime.framework.AbstractStage
      Throws:
      java.lang.Exception
    • getInvalidTracesOutputPort

      public teetime.framework.OutputPort<TraceEventRecords> getInvalidTracesOutputPort()
    • getValidTracesOutputPort

      public teetime.framework.OutputPort<TraceEventRecords> getValidTracesOutputPort()
    • getTimestampsInputPort

      public teetime.framework.InputPort<java.lang.Long> getTimestampsInputPort()
      Returns:
      Return input port for a periodic time signal.
    • newFlowRecordEvent

      protected void newFlowRecordEvent​(kieker.common.record.flow.IFlowRecord record)
      This method is the input port for the new events for this filter.
      Parameters:
      record - The new record to handle.
    • onTerminating

      protected void onTerminating()
      Overrides:
      onTerminating in class teetime.framework.AbstractStage