Kieker 1.9

kieker.tools.traceAnalysis.filter.visualization.dependencyGraph
Class ResponseTimeColorNodeDecorator

java.lang.Object
  extended by kieker.tools.traceAnalysis.filter.visualization.dependencyGraph.AbstractNodeDecorator
      extended by kieker.tools.traceAnalysis.filter.visualization.dependencyGraph.ResponseTimeColorNodeDecorator

public class ResponseTimeColorNodeDecorator
extends AbstractNodeDecorator

Decorator to set the color of graph nodes depending on graph nodes execution time.

Since:
1.9
Author:
Henry Grow

Constructor Summary
ResponseTimeColorNodeDecorator(int threshold)
          Creates a new response time decorator.
 
Method Summary
 void processMessage(AbstractMessage message, DependencyGraphNode<?> sourceNode, DependencyGraphNode<?> targetNode, TimeUnit timeunit)
          Processes a message sent from the given source to the given target node.
 
Methods inherited from class kieker.tools.traceAnalysis.filter.visualization.dependencyGraph.AbstractNodeDecorator
createFromName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseTimeColorNodeDecorator

public ResponseTimeColorNodeDecorator(int threshold)
Creates a new response time decorator.

Parameters:
threshold - The threshold for the execution time to color the graph nodes
Method Detail

processMessage

public void processMessage(AbstractMessage message,
                           DependencyGraphNode<?> sourceNode,
                           DependencyGraphNode<?> targetNode,
                           TimeUnit timeunit)
Description copied from class: AbstractNodeDecorator
Processes a message sent from the given source to the given target node.

Specified by:
processMessage in class AbstractNodeDecorator
Parameters:
message - The sent message
sourceNode - The source node sending the message
targetNode - The target node receiving the message
timeunit - The time unit which determines how to interpret times.

Kieker 1.9

Copyright 2014 Kieker Project, http://kieker-monitoring.net