Class TraceEquivalenceClassFilter
java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<T>
kieker.analysis.architecture.trace.AbstractTraceAnalysisStage<T>
kieker.analysis.architecture.trace.AbstractTraceProcessingStage<ExecutionTrace>
kieker.analysis.architecture.trace.execution.TraceEquivalenceClassFilter
- Since:
- 1.2
- Author:
- Andre van Hoorn, Reiner Jung -- teetime port
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThis enum represents the different trace equivalence class modes. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThis is the name of the property determining the equivalence mode.This constant determines the default equivalence mode (the default value is disabled).static final StringThis is the name of the input port receiving new execution traces.Fields inherited from class teetime.framework.AbstractConsumerStage
inputPortFields inherited from class teetime.framework.AbstractStage
logger -
Constructor Summary
ConstructorsConstructorDescriptionTraceEquivalenceClassFilter(SystemModelRepository systemModelRepository, TraceEquivalenceClassFilter.TraceEquivalenceClassModes equivalenceMode) Creates a new instance of this class using the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidThis method represents the input port of this filter, processing incoming execution traces.teetime.framework.OutputPort<Map<ExecutionTrace,Integer>> teetime.framework.OutputPort<ExecutionTrace>teetime.framework.OutputPort<MessageTrace>protected voidMethods inherited from class kieker.analysis.architecture.trace.AbstractTraceProcessingStage
getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount, printStatusMessage, reportError, reportSuccessMethods inherited from class kieker.analysis.architecture.trace.AbstractTraceAnalysisStage
createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, getSystemModelRepository, printDebugLogMessage, printErrorLogMessageMethods 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
-
Field Details
-
INPUT_PORT_NAME_EXECUTION_TRACE
This is the name of the input port receiving new execution traces.- See Also:
-
CONFIG_PROPERTY_NAME_EQUIVALENCE_MODE
This is the name of the property determining the equivalence mode.- See Also:
-
DEFAULT_EQUIVALENCE_MODE
This constant determines the default equivalence mode (the default value is disabled).
-
-
Constructor Details
-
TraceEquivalenceClassFilter
public TraceEquivalenceClassFilter(SystemModelRepository systemModelRepository, TraceEquivalenceClassFilter.TraceEquivalenceClassModes equivalenceMode) Creates a new instance of this class using the given parameters. Keep in mind that the Trace-Equivalence-Class-Mode has to be set via the method setTraceEquivalenceCallMode before using this component!- Parameters:
systemModelRepository- system model repositoryequivalenceMode- equivalence mode
-
-
Method Details
-
execute
This method represents the input port of this filter, processing incoming execution traces.- Specified by:
executein classteetime.framework.AbstractConsumerStage<ExecutionTrace>- Parameters:
et- The next execution trace.- Throws:
Exception
-
getEquivalenceClassMap
-
onTerminating
protected void onTerminating()- Overrides:
onTerminatingin classteetime.framework.AbstractStage
-
getEquivalenceMapOutputPort
-
getExecutionTraceOutputPort
-
getMessageTraceOutputPort
-