T
- public abstract class AbstractAggregatedCallTreeFilter<T> extends AbstractCallTreeFilter<T>
AbstractCallTreeFilter.IPairFactory<T>
Constructor and Description |
---|
AbstractAggregatedCallTreeFilter(SystemModelRepository repository,
boolean includeWeights,
boolean shortLabels,
java.lang.String dotOutputFile)
Creates a new instance of this class using the given parameters.
|
Modifier and Type | Method and Description |
---|---|
protected abstract T |
concreteCreatePair(SynchronousCallMessage callMsg)
HACK.
|
protected void |
execute(MessageTrace trace) |
void |
onTerminating()
Saves the call tree to the dot file if error is not true.
|
void |
printStatusMessage()
Returns a user-addressed status message to be logged by the calling tool.
|
void |
saveTreeToDotFile()
This method tries to convert the current tree into the specified file as a valid dot file, which can later be
transformed into a visual representation by dot itself.
|
protected void |
setRoot(AbstractAggregatedCallTreeNode<T> root)
Sets the root of the call tree.
|
addTraceToTree, nodeLabel, saveTreeToDotFile, writeDotForMessageTrace
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 AbstractAggregatedCallTreeFilter(SystemModelRepository repository, boolean includeWeights, boolean shortLabels, java.lang.String dotOutputFile)
repository
- system model repositoryincludeWeights
- include weights ingraphshortLabels
- use short labelsdotOutputFile
- output file nameprotected void setRoot(AbstractAggregatedCallTreeNode<T> root)
root
- The new root.public void saveTreeToDotFile() throws java.io.IOException
java.io.IOException
- If something went wrong during the converting.public void printStatusMessage()
AbstractTraceProcessingStage
printStatusMessage
in class AbstractTraceProcessingStage<MessageTrace>
public void onTerminating()
onTerminating
in class teetime.framework.AbstractStage
protected void execute(MessageTrace trace) throws java.lang.Exception
execute
in class AbstractMessageTraceProcessingFilter
java.lang.Exception
protected abstract T concreteCreatePair(SynchronousCallMessage callMsg)
callMsg
- The call message which contains the information necessary to create the pair.Copyright 2021 Kieker Project, http://kieker-monitoring.net