public class HotspotDetectionStage extends teetime.framework.AbstractConsumerStage<Trace>
PrintStream
, which
have the longest execution time without their children.
The number of operation call that will be printed can be configured. The default print stream is System.out.Constructor and Description |
---|
HotspotDetectionStage() |
HotspotDetectionStage(int maxOutput,
java.io.PrintStream printStream) |
Modifier and Type | Method and Description |
---|---|
protected void |
execute(Trace trace) |
protected void |
onTerminating() |
static <K,V extends java.lang.Comparable<? super V>> |
sortMapByValue(java.util.Map<K,V> map) |
createInputPort, execute, getInputPort
abort, addInputPortRemovedListener, addOutputPortRemovedListener, compareAndSetBeingExecuted, createInputPort, createInputPort, createInputPort, createOutputPort, createOutputPort, createOutputPort, createOutputPort, declareActive, declarePassive, executeByFramework, getCurrentState, getId, getInputPorts, getOutputPorts, getOwningThread, getTerminationStrategy, isActive, isBeingExecuted, isPaused, isProducer, isStateless, onSignal, onStarting, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompleted
public HotspotDetectionStage()
public HotspotDetectionStage(int maxOutput, java.io.PrintStream printStream)
protected void execute(Trace trace)
execute
in class teetime.framework.AbstractConsumerStage<Trace>
protected void onTerminating()
onTerminating
in class teetime.framework.AbstractStage
public static <K,V extends java.lang.Comparable<? super V>> java.util.Map<K,V> sortMapByValue(java.util.Map<K,V> map)
Copyright 2020 Kieker Project, http://kieker-monitoring.net