Package kieker.analysis.generic.time
Class TraceMetadataTimestampFilter
java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<T>
kieker.analysis.generic.time.AbstractTimestampFilter<TraceMetadata>
kieker.analysis.generic.time.TraceMetadataTimestampFilter
public class TraceMetadataTimestampFilter extends AbstractTimestampFilter<TraceMetadata>
Concrete implementation of
AbstractTimestampFilter
. Allows to filter TraceMetadata
objects based on their given timestamps.- Since:
- 1.2
- Author:
- Andre van Hoorn, Jan Waller, Lars Bluemke
-
Field Summary
Fields inherited from class kieker.analysis.generic.time.AbstractTimestampFilter
recordOutsideTimePeriodOutputPort, recordWithinTimePeriodOutputPort
-
Constructor Summary
Constructors Constructor Description TraceMetadataTimestampFilter(long ignoreBeforeTimestamp, long ignoreAfterTimestamp)
-
Method Summary
Modifier and Type Method Description protected long
getRecordSpecificTimestamp(TraceMetadata record)
Returns the most accurate timestamp available for each record.Methods inherited from class kieker.analysis.generic.time.AbstractTimestampFilter
execute, getRecordOutsideTimePeriodOutputPort, getRecordWithinTimePeriodOutputPort, inRange
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
-
Constructor Details
-
TraceMetadataTimestampFilter
public TraceMetadataTimestampFilter(long ignoreBeforeTimestamp, long ignoreAfterTimestamp)
-
-
Method Details
-
getRecordSpecificTimestamp
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 classAbstractTimestampFilter<TraceMetadata>
- Parameters:
record
- An EventRecord, OperationExecutionRecord, TraceMetadata or MonitoringRecord for example.- Returns:
- Timestamp of the given record.
-