public class EventContext extends Object
Modifier and Type | Field and Description |
---|---|
ClusterControllerImpl |
controller |
SchedulerStateImpl |
group |
Task |
task |
AMYarnFacade |
yarn |
Constructor and Description |
---|
EventContext(ClusterController controller) |
EventContext(ClusterControllerImpl controller) |
EventContext(ClusterControllerImpl controller,
Task task) |
EventContext(Task task)
For testing only, omits the controller and YARN.
|
Modifier and Type | Method and Description |
---|---|
TaskState |
getState() |
Scheduler.TaskManager |
getTaskManager() |
void |
setGroup(SchedulerStateActions group) |
void |
setTask(Task task) |
public final AMYarnFacade yarn
public final ClusterControllerImpl controller
public SchedulerStateImpl group
public Task task
public EventContext(ClusterControllerImpl controller)
public EventContext(ClusterController controller)
public EventContext(ClusterControllerImpl controller, Task task)
public EventContext(Task task)
task
- public void setTask(Task task)
public TaskState getState()
public void setGroup(SchedulerStateActions group)
public Scheduler.TaskManager getTaskManager()
Copyright © 1970 The Apache Software Foundation. All rights reserved.