public class ExecutionTimeBasedSlowTaskDetector extends Object implements SlowTaskDetector
| Constructor and Description |
|---|
ExecutionTimeBasedSlowTaskDetector(org.apache.flink.configuration.Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
start(ExecutionGraph executionGraph,
SlowTaskDetectorListener listener,
org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor mainThreadExecutor)
Start detecting slow tasks periodically.
|
void |
stop()
Stop detecting slow tasks.
|
public ExecutionTimeBasedSlowTaskDetector(org.apache.flink.configuration.Configuration configuration)
public void start(ExecutionGraph executionGraph, SlowTaskDetectorListener listener, org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor mainThreadExecutor)
SlowTaskDetectorstart in interface SlowTaskDetectorpublic void stop()
SlowTaskDetectorstop in interface SlowTaskDetectorCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.