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