Package | Description |
---|---|
org.apache.hadoop.applications.mawo.server.common |
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements.
|
Modifier and Type | Method and Description |
---|---|
TaskStatus.State |
TaskStatus.getRunState()
Get status of a Task.
|
TaskStatus.State |
TaskStatus.getTaskState(TaskId localtaskId)
Get Task status of a Task.
|
static TaskStatus.State |
TaskStatus.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskStatus.State[] |
TaskStatus.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 |
TaskStatus.setRunState(TaskStatus.State localrunState)
Update status of a Task.
|
void |
TaskStatus.setTaskState(TaskId localtaskId,
TaskStatus.State localrunState)
Set staus of a Task.
|
Constructor and Description |
---|
TaskStatus(WorkerId localworkerId,
TaskId localtaskId,
TaskStatus.State localrunState,
String localtaskCMD,
String localtaskType)
Task status constructor with workerId, TaskId,
TaskCmd, TaskType and Run State.
|
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.