V
- The type of the graph's verticesE
- The type of the graph's edgespublic class TraceColoringFilter<V extends AbstractVertex<V,E,TraceInformation>,E extends AbstractEdge<V,E,TraceInformation>> extends AbstractGraphFilter<AbstractGraph<V,E,TraceInformation>,V,E,TraceInformation> implements AbstractGraph.IGraphVisitor<V,E>
TraceColorRepository
). Element that belong
to multiple traces get the collision color defined in the repository.Constructor and Description |
---|
TraceColoringFilter(TraceColorRepository colorRepository)
Creates a new filter using the given configuration.
|
Modifier and Type | Method and Description |
---|---|
protected IOriginRetentionPolicy |
getDesiredOriginRetentionPolicy() |
protected AbstractGraph<V,E,TraceInformation> |
performConcreteGraphProcessing(AbstractGraph<V,E,TraceInformation> graph)
This method encapsulates the concrete graph processing performed by the concrete filters.
|
void |
visitEdge(E edge)
Call-back operation that is invoked when an edge is encountered during graph traversal.
|
void |
visitVertex(V vertex)
Call-back operation that is invoked when a vertex is encountered during graph traversal.
|
execute, getOutputPort
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, onTerminating, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompleted
public TraceColoringFilter(TraceColorRepository colorRepository)
colorRepository
- the color repository with data for coloring tracespublic void visitVertex(V vertex)
visitVertex
in interface AbstractGraph.IGraphVisitor<V extends AbstractVertex<V,E,TraceInformation>,E extends AbstractEdge<V,E,TraceInformation>>
vertex
- The encountered vertexpublic void visitEdge(E edge)
visitEdge
in interface AbstractGraph.IGraphVisitor<V extends AbstractVertex<V,E,TraceInformation>,E extends AbstractEdge<V,E,TraceInformation>>
edge
- The encountered edgeprotected AbstractGraph<V,E,TraceInformation> performConcreteGraphProcessing(AbstractGraph<V,E,TraceInformation> graph)
performConcreteGraphProcessing
in class AbstractGraphFilter<AbstractGraph<V extends AbstractVertex<V,E,TraceInformation>,E extends AbstractEdge<V,E,TraceInformation>,TraceInformation>,V extends AbstractVertex<V,E,TraceInformation>,E extends AbstractEdge<V,E,TraceInformation>,TraceInformation>
graph
- The graph to processprotected IOriginRetentionPolicy getDesiredOriginRetentionPolicy() throws AnalysisConfigurationException
getDesiredOriginRetentionPolicy
in class AbstractGraphFilter<AbstractGraph<V extends AbstractVertex<V,E,TraceInformation>,E extends AbstractEdge<V,E,TraceInformation>,TraceInformation>,V extends AbstractVertex<V,E,TraceInformation>,E extends AbstractEdge<V,E,TraceInformation>,TraceInformation>
AnalysisConfigurationException
Copyright 2021 Kieker Project, http://kieker-monitoring.net