public class TaskScopeFormat extends ScopeFormat
TaskMetricGroup
.SCOPE_HOST, SCOPE_INHERIT_PARENT, SCOPE_JOB_ID, SCOPE_JOB_NAME, SCOPE_OPERATOR_ID, SCOPE_OPERATOR_NAME, SCOPE_SEPARATOR, SCOPE_TASK_ATTEMPT_ID, SCOPE_TASK_ATTEMPT_NUM, SCOPE_TASK_NAME, SCOPE_TASK_SUBTASK_INDEX, SCOPE_TASK_VERTEX_ID, SCOPE_TASKMANAGER_ID
Constructor and Description |
---|
TaskScopeFormat(String format,
TaskManagerJobScopeFormat parentFormat) |
Modifier and Type | Method and Description |
---|---|
String[] |
formatScope(TaskManagerJobMetricGroup parent,
AbstractID vertexId,
ExecutionAttemptID attemptId,
String taskName,
int subtask,
int attemptNumber) |
arrayToMap, asVariable, bindVariables, concat, concat, concat, concat, copyTemplate, format, toString, valueOrNull
public TaskScopeFormat(String format, TaskManagerJobScopeFormat parentFormat)
public String[] formatScope(TaskManagerJobMetricGroup parent, AbstractID vertexId, ExecutionAttemptID attemptId, String taskName, int subtask, int attemptNumber)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.