public class TestingTaskInfo extends Object implements org.apache.flink.api.common.TaskInfo
TaskInfo.| Modifier and Type | Class and Description |
|---|---|
static class |
TestingTaskInfo.Builder
Builder for
TestingTaskInfo. |
| Constructor and Description |
|---|
TestingTaskInfo(String taskName,
int maxNumberOfParallelSubtasks,
int indexOfThisSubtask,
int numberOfParallelSubtasks,
int attemptNumber,
String taskNameWithSubtasks,
String allocationIDAsString) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAllocationIDAsString() |
int |
getAttemptNumber() |
int |
getIndexOfThisSubtask() |
int |
getMaxNumberOfParallelSubtasks() |
int |
getNumberOfParallelSubtasks() |
String |
getTaskName() |
String |
getTaskNameWithSubtasks() |
public String getTaskName()
getTaskName in interface org.apache.flink.api.common.TaskInfopublic int getMaxNumberOfParallelSubtasks()
getMaxNumberOfParallelSubtasks in interface org.apache.flink.api.common.TaskInfopublic int getIndexOfThisSubtask()
getIndexOfThisSubtask in interface org.apache.flink.api.common.TaskInfopublic int getNumberOfParallelSubtasks()
getNumberOfParallelSubtasks in interface org.apache.flink.api.common.TaskInfopublic int getAttemptNumber()
getAttemptNumber in interface org.apache.flink.api.common.TaskInfopublic String getTaskNameWithSubtasks()
getTaskNameWithSubtasks in interface org.apache.flink.api.common.TaskInfopublic String getAllocationIDAsString()
getAllocationIDAsString in interface org.apache.flink.api.common.TaskInfoCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.