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.TaskManager
public void allocated(EventContext context)
allocated
in interface Scheduler.TaskManager
public LaunchSpec getLaunchSpec(Task task)
getLaunchSpec
in interface Scheduler.TaskManager
public boolean stop(Task task)
stop
in interface Scheduler.TaskManager
public void completed(EventContext context)
completed
in interface Scheduler.TaskManager
public boolean isLive(EventContext context)
isLive
in interface Scheduler.TaskManager
Copyright © 1970 The Apache Software Foundation. All rights reserved.