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

java.lang.Object
  extended by org.gridkit.jvmtool.stacktrace.analytics.flame.GenericFlameGraphGenerator
Direct Known Subclasses:
FlameGraphGenerator

public abstract class GenericFlameGraphGenerator
extends Object


Constructor Summary
GenericFlameGraphGenerator()
           
 
Method Summary
protected  void appendHeader(int width, int height, Writer writer)
           
protected abstract  Comparator<GenericStackElement> comparator()
           
protected abstract  String describe(org.gridkit.jvmtool.stacktrace.analytics.flame.GenericFlameGraphGenerator.Node node)
           
protected  String escape(String text)
           
 void feed(StackFrameList trace)
           
 void renderSVG(String title, int width, Writer writer)
           
 void setColorPicker(FlameColorPicker cp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericFlameGraphGenerator

public GenericFlameGraphGenerator()
Method Detail

comparator

protected abstract Comparator<GenericStackElement> comparator()

setColorPicker

public void setColorPicker(FlameColorPicker cp)

feed

public void feed(StackFrameList trace)

renderSVG

public void renderSVG(String title,
                      int width,
                      Writer writer)
               throws IOException
Throws:
IOException

escape

protected String escape(String text)

describe

protected abstract String describe(org.gridkit.jvmtool.stacktrace.analytics.flame.GenericFlameGraphGenerator.Node node)

appendHeader

protected void appendHeader(int width,
                            int height,
                            Writer writer)
                     throws IOException
Throws:
IOException


Copyright © 2019. All Rights Reserved.