Class EventRecordTimestampFilter

java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<T>
kieker.analysis.generic.time.AbstractTimestampFilter<kieker.common.record.flow.IEventRecord>
kieker.analysis.generic.time.EventRecordTimestampFilter

public class EventRecordTimestampFilter
extends AbstractTimestampFilter<kieker.common.record.flow.IEventRecord>
Concrete implementation of AbstractTimestampFilter. Allows to filter IEventRecord objects based on their given timestamps.
Since:
1.2
  • Field Summary

    Fields inherited from class kieker.analysis.generic.time.AbstractTimestampFilter

    recordOutsideTimePeriodOutputPort, recordWithinTimePeriodOutputPort

    Fields inherited from class teetime.framework.AbstractConsumerStage

    inputPort

    Fields inherited from class teetime.framework.AbstractStage

    logger
  • Constructor Summary

    Constructors 
    Constructor Description
    EventRecordTimestampFilter​(long ignoreBeforeTimestamp, long ignoreAfterTimestamp)  
  • Method Summary

    Modifier and Type Method Description
    protected long getRecordSpecificTimestamp​(kieker.common.record.flow.IEventRecord record)
    Returns the most accurate timestamp available for each record.

    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

  • Method Details

    • getRecordSpecificTimestamp

      protected long getRecordSpecificTimestamp​(kieker.common.record.flow.IEventRecord record)
      Description copied from class: AbstractTimestampFilter
      Returns the most accurate timestamp available for each record. This might be record.getTimestamp or record.getLoggingTimestamp.
      Specified by:
      getRecordSpecificTimestamp in class AbstractTimestampFilter<kieker.common.record.flow.IEventRecord>
      Parameters:
      record - An EventRecord, OperationExecutionRecord, TraceMetadata or MonitoringRecord for example.
      Returns:
      Timestamp of the given record.