public class AbstractTaskManager extends Object implements Scheduler.TaskManager
| Constructor and Description |
|---|
AbstractTaskManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
allocated(EventContext context) |
void |
completed(EventContext context) |
LaunchSpec |
getLaunchSpec(Task task) |
boolean |
isLive(EventContext context) |
int |
maxConcurrentAllocs() |
boolean |
stop(Task task) |
public int maxConcurrentAllocs()
maxConcurrentAllocs in interface Scheduler.TaskManagerpublic void allocated(EventContext context)
allocated in interface Scheduler.TaskManagerpublic LaunchSpec getLaunchSpec(Task task)
getLaunchSpec in interface Scheduler.TaskManagerpublic boolean stop(Task task)
stop in interface Scheduler.TaskManagerpublic void completed(EventContext context)
completed in interface Scheduler.TaskManagerpublic boolean isLive(EventContext context)
isLive in interface Scheduler.TaskManagerCopyright © 2021 The Apache Software Foundation. All rights reserved.