org.gridkit.jvmtool.stacktrace.analytics.flame
Class RainbowColorPicker

java.lang.Object
  extended by org.gridkit.jvmtool.stacktrace.analytics.flame.RainbowColorPicker
All Implemented Interfaces:
FlameColorPicker

public class RainbowColorPicker
extends Object
implements FlameColorPicker

FlameColorPicker for FlameGraphGenerator. Rainbow color picker choose coloring hue based on category of trace above color element.
Categories are provided as a list of filters.

Author:
Alexey Ragozin (alexey.ragozin@gmail.com)

Constructor Summary
RainbowColorPicker(ThreadSnapshotFilter[] filters)
           
 
Method Summary
 int pickColor(GenericStackElement[] trace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RainbowColorPicker

public RainbowColorPicker(ThreadSnapshotFilter[] filters)
Method Detail

pickColor

public int pickColor(GenericStackElement[] trace)
Specified by:
pickColor in interface FlameColorPicker


Copyright © 2019. All Rights Reserved.