Package | Description |
---|---|
edu.snu.coral.runtime.common.state | |
edu.snu.coral.runtime.executor | |
edu.snu.coral.runtime.master.scheduler |
Modifier and Type | Method and Description |
---|---|
static TaskGroupState.RecoverableFailureCause |
TaskGroupState.RecoverableFailureCause.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskGroupState.RecoverableFailureCause[] |
TaskGroupState.RecoverableFailureCause.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.
|
void |
TaskGroupStateManager.onTaskStateChanged(String physicalTaskId,
TaskState.State newState,
Optional<TaskGroupState.RecoverableFailureCause> cause)
Updates the state of a task.
|
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.