Package kieker.analysis.generic.time
Class OperationExecutionRecordTimestampFilter
java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<T>
kieker.analysis.generic.time.AbstractTimestampFilter<kieker.common.record.controlflow.OperationExecutionRecord>
kieker.analysis.generic.time.OperationExecutionRecordTimestampFilter
public class OperationExecutionRecordTimestampFilter extends AbstractTimestampFilter<kieker.common.record.controlflow.OperationExecutionRecord>
Concrete implementation of
AbstractTimestampFilter. Allows to filter OperationExecutionRecord objects based on their given timestamps.
This stage receives trace events to be selected by a specific timestamp selector (based on tin and tout).- Since:
- 1.2
-
Field Summary
Fields inherited from class kieker.analysis.generic.time.AbstractTimestampFilter
recordOutsideTimePeriodOutputPort, recordWithinTimePeriodOutputPort -
Constructor Summary
Constructors Constructor Description OperationExecutionRecordTimestampFilter(long ignoreBeforeTimestamp, long ignoreAfterTimestamp) -
Method Summary
Modifier and Type Method Description protected voidexecute(kieker.common.record.controlflow.OperationExecutionRecord execution)protected longgetRecordSpecificTimestamp(kieker.common.record.controlflow.OperationExecutionRecord execution)Returns the most accurate timestamp available for each record.Methods inherited from class kieker.analysis.generic.time.AbstractTimestampFilter
getRecordOutsideTimePeriodOutputPort, getRecordWithinTimePeriodOutputPort, inRangeMethods 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
-
OperationExecutionRecordTimestampFilter
public OperationExecutionRecordTimestampFilter(long ignoreBeforeTimestamp, long ignoreAfterTimestamp)
-
-
Method Details
-
execute
protected void execute(kieker.common.record.controlflow.OperationExecutionRecord execution)- Overrides:
executein classAbstractTimestampFilter<kieker.common.record.controlflow.OperationExecutionRecord>
-
getRecordSpecificTimestamp
protected long getRecordSpecificTimestamp(kieker.common.record.controlflow.OperationExecutionRecord execution)Description copied from class:AbstractTimestampFilterReturns the most accurate timestamp available for each record. This might be record.getTimestamp or record.getLoggingTimestamp.- Specified by:
getRecordSpecificTimestampin classAbstractTimestampFilter<kieker.common.record.controlflow.OperationExecutionRecord>- Parameters:
execution- An EventRecord, OperationExecutionRecord, TraceMetadata or MonitoringRecord for example.- Returns:
- Timestamp of the given record.
-