Class ResponseTimeColorNodeDecorator

java.lang.Object
kieker.visualization.trace.dependency.graph.AbstractNodeDecorator
kieker.visualization.trace.dependency.graph.ResponseTimeColorNodeDecorator

public class ResponseTimeColorNodeDecorator
extends AbstractNodeDecorator
Decorator to set the color of graph nodes depending on graph nodes execution time.
Since:
1.9
  • Constructor Summary

    Constructors 
    Constructor Description
    ResponseTimeColorNodeDecorator​(int threshold)
    Creates a new response time decorator.
  • Method Summary

    Modifier and Type Method Description
    void processMessage​(kieker.model.system.model.AbstractMessage message, DependencyGraphNode<?> sourceNode, DependencyGraphNode<?> targetNode, java.util.concurrent.TimeUnit timeunit)
    Processes a message sent from the given source to the given target node.

    Methods inherited from class kieker.visualization.trace.dependency.graph.AbstractNodeDecorator

    createFromName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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 Details

    • processMessage

      public void processMessage​(kieker.model.system.model.AbstractMessage message, DependencyGraphNode<?> sourceNode, DependencyGraphNode<?> targetNode, java.util.concurrent.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.