Class TraceAggregationStage
java.lang.Object
teetime.framework.AbstractStage
kieker.analysis.architecture.trace.flow.TraceAggregationStage
public class TraceAggregationStage
extends teetime.framework.AbstractStage
This stage collects incoming traces for a specified amount of time. Any
traces representing the same series of events will be used to calculate
statistical informations like the average runtime of this kind of trace. Only
one specimen of these traces containing this information will be forwarded
from this filter.
Statistical outliers regarding the runtime of the trace will be treated
special and therefore send out as they are and will not be mixed with others.
- Since:
- 1.9
- Author:
- Jan Waller, Florian Biss
-
Field Summary
-
Constructor Summary
Constructors Constructor Description TraceAggregationStage(java.util.concurrent.TimeUnit timeunit, long maxCollectionDuration)
Creates a new instance of this class using the given parameters. -
Method Summary
Modifier and Type Method Description protected void
execute()
void
onTerminating()
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
-
TraceAggregationStage
public TraceAggregationStage(java.util.concurrent.TimeUnit timeunit, long maxCollectionDuration)Creates a new instance of this class using the given parameters.- Parameters:
timeunit
- timeunit used in tracesmaxCollectionDuration
- max duration of a trace
-
-
Method Details
-
execute
protected void execute() throws java.lang.Exception- Specified by:
execute
in classteetime.framework.AbstractStage
- Throws:
java.lang.Exception
-
onTerminating
public void onTerminating()- Overrides:
onTerminating
in classteetime.framework.AbstractStage
-