Class SessionReconstructionFilter
java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<ExecutionTrace>
kieker.analysis.architecture.trace.SessionReconstructionFilter
public class SessionReconstructionFilter extends teetime.framework.AbstractConsumerStage<ExecutionTrace>
This filter reconstructs sessions from execution or message traces.
- Since:
- 1.10
- Author:
- Holger Knoche, Reiner Jung -- teetime port
-
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(ExecutionTrace executionTrace)Processes an incoming execution.teetime.framework.OutputPort<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
-
execute
Processes an incoming execution.- Specified by:
executein classteetime.framework.AbstractConsumerStage<ExecutionTrace>- Parameters:
executionTrace- The execution trace to process.- Throws:
java.lang.Exception
-
onTerminating
public void onTerminating()- Overrides:
onTerminatingin classteetime.framework.AbstractStage
-