org.gridkit.jvmtool.stacktrace.analytics.flame
Class RainbowColorPicker
java.lang.Object
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)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RainbowColorPicker
public RainbowColorPicker(ThreadSnapshotFilter[] filters)
pickColor
public int pickColor(GenericStackElement[] trace)
- Specified by:
pickColor in interface FlameColorPicker
Copyright © 2019. All Rights Reserved.