public class MessageTraceWriterFilter extends AbstractTraceProcessingStage<MessageTrace>
Constructor and Description |
---|
MessageTraceWriterFilter(SystemModelRepository repository,
java.io.File outputFile)
Creates a new instance of this class using the given parameters.
|
Modifier and Type | Method and Description |
---|---|
protected void |
execute(MessageTrace messageTrace) |
protected void |
onTerminating() |
void |
printStatusMessage()
Returns a user-addressed status message to be logged by the calling tool.
|
getErrorCount, getLastTraceIdError, getLastTraceIdSuccess, getSuccessCount, getTotalCount, reportError, reportSuccess
createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, getSystemModelRepository, printDebugLogMessage, printErrorLogMessage
createInputPort, execute, getInputPort
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
public MessageTraceWriterFilter(SystemModelRepository repository, java.io.File outputFile) throws java.io.IOException
repository
- system model repositoryoutputFile
- output filejava.io.IOException
- If the write stream could not be prepared.public void printStatusMessage()
AbstractTraceProcessingStage
printStatusMessage
in class AbstractTraceProcessingStage<MessageTrace>
protected void onTerminating()
onTerminating
in class teetime.framework.AbstractStage
protected void execute(MessageTrace messageTrace) throws java.lang.Exception
execute
in class teetime.framework.AbstractConsumerStage<MessageTrace>
java.lang.Exception
Copyright 2021 Kieker Project, http://kieker-monitoring.net