Package | Description |
---|---|
edu.snu.coral.runtime.common.state | |
edu.snu.coral.runtime.executor | |
edu.snu.coral.runtime.master | |
edu.snu.coral.runtime.master.scheduler |
Modifier and Type | Method and Description |
---|---|
static TaskGroupState.State |
TaskGroupState.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskGroupState.State[] |
TaskGroupState.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
TaskGroupStateManager.onTaskGroupStateChanged(TaskGroupState.State newState,
Optional<String> taskPutOnHold,
Optional<TaskGroupState.RecoverableFailureCause> cause)
Updates the state of the task group.
|
Modifier and Type | Method and Description |
---|---|
void |
JobStateManager.onTaskGroupStateChanged(String taskGroupId,
TaskGroupState.State newState)
Updates the state of a task group.
|
Modifier and Type | Method and Description |
---|---|
void |
Scheduler.onTaskGroupStateChanged(String executorId,
String taskGroupId,
TaskGroupState.State newState,
int attemptIdx,
String taskPutOnHold,
TaskGroupState.RecoverableFailureCause failureCause)
Called when a TaskGroup's execution state changes.
|
void |
BatchSingleJobScheduler.onTaskGroupStateChanged(String executorId,
String taskGroupId,
TaskGroupState.State newState,
int attemptIdx,
String taskPutOnHold,
TaskGroupState.RecoverableFailureCause failureCause)
Receives a
ControlMessage.TaskGroupStateChangedMsg from an executor. |
Copyright © 2018. All rights reserved.