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, reportSuccesscreateExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, createExecutionByEntityNames, getSystemModelRepository, printDebugLogMessage, printErrorLogMessagecreateInputPort, execute, getInputPortabort, 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, workCompletedpublic 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()
AbstractTraceProcessingStageprintStatusMessage in class AbstractTraceProcessingStage<MessageTrace>protected void onTerminating()
onTerminating in class teetime.framework.AbstractStageprotected void execute(MessageTrace messageTrace) throws java.lang.Exception
execute in class teetime.framework.AbstractConsumerStage<MessageTrace>java.lang.ExceptionCopyright 2021 Kieker Project, http://kieker-monitoring.net