public class SubtaskExecutionAttemptDetailsInfo extends Object implements ResponseBody
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME_ATTEMPT |
static String |
FIELD_NAME_COMPATIBLE_START_TIME |
static String |
FIELD_NAME_DURATION |
static String |
FIELD_NAME_END_TIME |
static String |
FIELD_NAME_HOST |
static String |
FIELD_NAME_METRICS |
static String |
FIELD_NAME_OTHER_CONCURRENT_ATTEMPTS |
static String |
FIELD_NAME_START_TIME |
static String |
FIELD_NAME_STATUS |
static String |
FIELD_NAME_STATUS_DURATION |
static String |
FIELD_NAME_SUBTASK_INDEX |
static String |
FIELD_NAME_TASKMANAGER_ID |
Constructor and Description |
---|
SubtaskExecutionAttemptDetailsInfo(int subtaskIndex,
ExecutionState status,
int attempt,
String host,
long startTime,
long endTime,
long duration,
IOMetricsInfo ioMetricsInfo,
String taskmanagerId,
Map<ExecutionState,Long> statusDuration,
List<SubtaskExecutionAttemptDetailsInfo> otherConcurrentAttempts) |
Modifier and Type | Method and Description |
---|---|
static SubtaskExecutionAttemptDetailsInfo |
create(AccessExecution execution,
MetricFetcher metricFetcher,
JobID jobID,
JobVertexID jobVertexID,
List<SubtaskExecutionAttemptDetailsInfo> otherConcurrentAttempts) |
boolean |
equals(Object o) |
int |
getAttempt() |
long |
getDuration() |
long |
getEndTime() |
String |
getHost() |
IOMetricsInfo |
getIoMetricsInfo() |
List<SubtaskExecutionAttemptDetailsInfo> |
getOtherConcurrentAttempts() |
long |
getStartTime() |
long |
getStartTimeCompatible() |
ExecutionState |
getStatus() |
Map<ExecutionState,Long> |
getStatusDuration() |
long |
getStatusDuration(ExecutionState state) |
int |
getSubtaskIndex() |
String |
getTaskmanagerId() |
int |
hashCode() |
public static final String FIELD_NAME_SUBTASK_INDEX
public static final String FIELD_NAME_STATUS
public static final String FIELD_NAME_ATTEMPT
public static final String FIELD_NAME_HOST
public static final String FIELD_NAME_START_TIME
public static final String FIELD_NAME_COMPATIBLE_START_TIME
public static final String FIELD_NAME_END_TIME
public static final String FIELD_NAME_DURATION
public static final String FIELD_NAME_METRICS
public static final String FIELD_NAME_TASKMANAGER_ID
public static final String FIELD_NAME_STATUS_DURATION
public static final String FIELD_NAME_OTHER_CONCURRENT_ATTEMPTS
public SubtaskExecutionAttemptDetailsInfo(int subtaskIndex, ExecutionState status, int attempt, String host, long startTime, long endTime, long duration, IOMetricsInfo ioMetricsInfo, String taskmanagerId, Map<ExecutionState,Long> statusDuration, @Nullable List<SubtaskExecutionAttemptDetailsInfo> otherConcurrentAttempts)
public int getSubtaskIndex()
public ExecutionState getStatus()
public int getAttempt()
public String getHost()
public long getStartTime()
public long getStartTimeCompatible()
public long getEndTime()
public long getDuration()
public Map<ExecutionState,Long> getStatusDuration()
public long getStatusDuration(ExecutionState state)
public IOMetricsInfo getIoMetricsInfo()
public String getTaskmanagerId()
public List<SubtaskExecutionAttemptDetailsInfo> getOtherConcurrentAttempts()
public static SubtaskExecutionAttemptDetailsInfo create(AccessExecution execution, @Nullable MetricFetcher metricFetcher, JobID jobID, JobVertexID jobVertexID, @Nullable List<SubtaskExecutionAttemptDetailsInfo> otherConcurrentAttempts)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.