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 |
---|---|
TaskId |
AbstractTask.getTaskId()
Get TaskId for a Task.
|
TaskId |
Task.getTaskId()
Get TaskId of a Task.
|
TaskId |
TaskStatus.getTaskId()
Get Task Id.
|
Modifier and Type | Method and Description |
---|---|
TaskStatus.State |
TaskStatus.getTaskState(TaskId localtaskId)
Get Task status of a Task.
|
void |
AbstractTask.setTaskId(TaskId taskId)
Set Task Id.
|
void |
Task.setTaskId(TaskId taskId)
Set TaskId.
|
void |
TaskStatus.setTaskId(TaskId localtaskId)
Set TaskId.
|
void |
TaskStatus.setTaskState(TaskId localtaskId,
TaskStatus.State localrunState)
Set staus of a Task.
|
Constructor and Description |
---|
AbstractTask(TaskId taskId,
Map<String,String> localenvironment,
String taskCMD,
long localtimeout)
AbstrackTask constructor.
|
SimpleTask(TaskId taskId,
Map<String,String> environment,
String taskCMD,
long timeout)
Create Simple Task with Task details.
|
TaskStatus(WorkerId localworkerId,
TaskId localtaskId,
String localtaskCMD,
String localtaskType)
Task status constructor with workerId, TaskId, TaskCmd, TaskType.
|
TaskStatus(WorkerId localworkerId,
TaskId localtaskId,
TaskStatus.State localrunState,
String localtaskCMD,
String localtaskType)
Task status constructor with workerId, TaskId,
TaskCmd, TaskType and Run State.
|
TeardownTask(TaskId taskId,
Map<String,String> environment,
String taskCMD,
long timeout)
Teardown Task constructor.
|
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.