public class ResponseTimeColorNodeDecorator extends AbstractNodeDecorator
Constructor and Description |
---|
ResponseTimeColorNodeDecorator(int threshold)
Creates a new response time decorator.
|
Modifier and Type | Method and Description |
---|---|
void |
processMessage(AbstractMessage message,
DependencyGraphNode<?> sourceNode,
DependencyGraphNode<?> targetNode,
java.util.concurrent.TimeUnit timeunit)
Processes a message sent from the given source to the given target node.
|
createFromName
public ResponseTimeColorNodeDecorator(int threshold)
threshold
- The threshold for the execution time to color the graph nodespublic void processMessage(AbstractMessage message, DependencyGraphNode<?> sourceNode, DependencyGraphNode<?> targetNode, java.util.concurrent.TimeUnit timeunit)
AbstractNodeDecorator
processMessage
in class AbstractNodeDecorator
message
- The sent messagesourceNode
- The source node sending the messagetargetNode
- The target node receiving the messagetimeunit
- The time unit which determines how to interpret times.Copyright 2021 Kieker Project, http://kieker-monitoring.net