Class ExecutionTimeBasedSlowTaskDetector
- java.lang.Object
-
- org.apache.flink.runtime.scheduler.slowtaskdetector.ExecutionTimeBasedSlowTaskDetector
-
- All Implemented Interfaces:
SlowTaskDetector
public class ExecutionTimeBasedSlowTaskDetector extends Object implements SlowTaskDetector
The slow task detector which detects slow tasks based on their execution time.
-
-
Constructor Summary
Constructors Constructor Description ExecutionTimeBasedSlowTaskDetector(org.apache.flink.configuration.Configuration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstart(ExecutionGraph executionGraph, SlowTaskDetectorListener listener, org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor mainThreadExecutor)Start detecting slow tasks periodically.voidstop()Stop detecting slow tasks.
-
-
-
Method Detail
-
start
public void start(ExecutionGraph executionGraph, SlowTaskDetectorListener listener, org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor mainThreadExecutor)
Description copied from interface:SlowTaskDetectorStart detecting slow tasks periodically.- Specified by:
startin interfaceSlowTaskDetector
-
stop
public void stop()
Description copied from interface:SlowTaskDetectorStop detecting slow tasks.- Specified by:
stopin interfaceSlowTaskDetector
-
-