Class ExecutionTraceWriterFilter
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.sink.ExecutionTraceWriterFilter
public class ExecutionTraceWriterFilter extends AbstractTraceProcessingStage<ExecutionTrace>
This class has exactly one input port named "in". The data which is send to
this plugin is not delegated in any way.
- Since:
- 1.2
- Author:
- Andre van Hoorn, Reiner Jung -- teetime port
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ExecutionTraceWriterFilter(SystemModelRepository repository, java.io.File outputFile)Creates a new instance of this class using the given parameters. -
Method Summary
Modifier and Type Method Description protected voidexecute(ExecutionTrace executionTrace)protected voidonTerminating()voidprintStatusMessage()Returns a user-addressed status message to be logged by the calling tool.Methods inherited from class kieker.analysis.architecture.trace.AbstractTraceProcessingStage
getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount, 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
-
Constructor Details
-
ExecutionTraceWriterFilter
public ExecutionTraceWriterFilter(SystemModelRepository repository, java.io.File outputFile) throws java.io.IOExceptionCreates a new instance of this class using the given parameters.- Parameters:
repository- system model repositoryoutputFile- output file- Throws:
java.io.IOException- If the write stream could not be prepared.
-
-
Method Details
-
printStatusMessage
public void printStatusMessage()Description copied from class:AbstractTraceProcessingStageReturns a user-addressed status message to be logged by the calling tool. Extending classes may override this method but should call the then-inherited method first.- Overrides:
printStatusMessagein classAbstractTraceProcessingStage<ExecutionTrace>
-
onTerminating
protected void onTerminating()- Overrides:
onTerminatingin classteetime.framework.AbstractStage
-
execute
- Specified by:
executein classteetime.framework.AbstractConsumerStage<ExecutionTrace>
-