Class VertexFlameGraphFactory
- java.lang.Object
-
- org.apache.flink.runtime.webmonitor.threadinfo.VertexFlameGraphFactory
-
public class VertexFlameGraphFactory extends Object
Factory class for creating Flame Graph representations.
-
-
Constructor Summary
Constructors Constructor Description VertexFlameGraphFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VertexFlameGraphcreateFullFlameGraphFrom(VertexThreadInfoStats sample)ConvertsVertexThreadInfoStatsinto a FlameGraph.static VertexFlameGraphcreateOffCpuFlameGraph(VertexThreadInfoStats sample)ConvertsVertexThreadInfoStatsinto a FlameGraph representing blocked (Off-CPU) threads.static VertexFlameGraphcreateOnCpuFlameGraph(VertexThreadInfoStats sample)ConvertsVertexThreadInfoStatsinto a FlameGraph representing actively running (On-CPU) threads.
-
-
-
Method Detail
-
createFullFlameGraphFrom
public static VertexFlameGraph createFullFlameGraphFrom(VertexThreadInfoStats sample)
ConvertsVertexThreadInfoStatsinto a FlameGraph.- Parameters:
sample- Thread details sample containing stack traces.- Returns:
- FlameGraph data structure
-
createOffCpuFlameGraph
public static VertexFlameGraph createOffCpuFlameGraph(VertexThreadInfoStats sample)
ConvertsVertexThreadInfoStatsinto a FlameGraph representing blocked (Off-CPU) threads.Includes threads in states Thread.State.[TIMED_WAITING, BLOCKED, WAITING].
- Parameters:
sample- Thread details sample containing stack traces.- Returns:
- FlameGraph data structure.
-
createOnCpuFlameGraph
public static VertexFlameGraph createOnCpuFlameGraph(VertexThreadInfoStats sample)
ConvertsVertexThreadInfoStatsinto a FlameGraph representing actively running (On-CPU) threads.Includes threads in states Thread.State.[RUNNABLE, NEW].
- Parameters:
sample- Thread details sample containing stack traces.- Returns:
- FlameGraph data structure
-
-