Class SessionReconstructionFilter
java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<kieker.model.system.model.ExecutionTrace>
kieker.analysis.architecture.trace.SessionReconstructionFilter
public class SessionReconstructionFilter
extends teetime.framework.AbstractConsumerStage<kieker.model.system.model.ExecutionTrace>
This filter reconstructs sessions from execution or message traces.
- Since:
- 1.10
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SessionReconstructionFilter(java.util.concurrent.TimeUnit timeunit, java.lang.Long maxThinkTime)Creates a new session reconstruction filter using the given configuration. -
Method Summary
Modifier and Type Method Description protected voidexecute(kieker.model.system.model.ExecutionTrace executionTrace)Processes an incoming execution.teetime.framework.OutputPort<kieker.model.system.model.ExecutionTraceBasedSession>getOutputPort()voidonTerminating()Methods 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, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompleted
-
Constructor Details
-
SessionReconstructionFilter
public SessionReconstructionFilter(java.util.concurrent.TimeUnit timeunit, java.lang.Long maxThinkTime)Creates a new session reconstruction filter using the given configuration.- Parameters:
timeunit- used time unit, e.g., NANOSECONDSmaxThinkTime- max time to collect session information (null implies Long.MAX_VALUE)
-
-
Method Details
-
getOutputPort
public teetime.framework.OutputPort<kieker.model.system.model.ExecutionTraceBasedSession> getOutputPort() -
execute
protected void execute(kieker.model.system.model.ExecutionTrace executionTrace) throws java.lang.ExceptionProcesses an incoming execution.- Specified by:
executein classteetime.framework.AbstractConsumerStage<kieker.model.system.model.ExecutionTrace>- Parameters:
executionTrace- The execution trace to process.- Throws:
java.lang.Exception
-
onTerminating
public void onTerminating()- Overrides:
onTerminatingin classteetime.framework.AbstractStage
-