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
-
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 voidexecute()teetime.framework.OutputPort<TraceEventRecords>getInvalidTracesOutputPort()teetime.framework.InputPort<java.lang.Long>getTimestampsInputPort()teetime.framework.OutputPort<TraceEventRecords>getValidTracesOutputPort()protected voidnewFlowRecordEvent(kieker.common.record.flow.IFlowRecord record)This method is the input port for the new events for this filter.protected voidonTerminating()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
-
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 unitrepairEventBasedTraces- repair traces where AfterEvents are missingmaxTraceDuration- max trace durationmaxTraceTimeout- 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:
executein classteetime.framework.AbstractStage- Throws:
java.lang.Exception
-
getInvalidTracesOutputPort
-
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:
onTerminatingin classteetime.framework.AbstractStage
-