Class ExecutionTimeBasedSlowTaskDetector
java.lang.Object
org.apache.flink.runtime.scheduler.slowtaskdetector.ExecutionTimeBasedSlowTaskDetector
- All Implemented Interfaces:
SlowTaskDetector
The slow task detector which detects slow tasks based on their execution time.
-
Constructor Summary
ConstructorsConstructorDescriptionExecutionTimeBasedSlowTaskDetector(org.apache.flink.configuration.Configuration configuration) -
Method Summary
Modifier and TypeMethodDescriptionvoidstart(ExecutionGraph executionGraph, SlowTaskDetectorListener listener, org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor mainThreadExecutor) Start detecting slow tasks periodically.voidstop()Stop detecting slow tasks.
-
Constructor Details
-
ExecutionTimeBasedSlowTaskDetector
public ExecutionTimeBasedSlowTaskDetector(org.apache.flink.configuration.Configuration configuration)
-
-
Method Details
-
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
-