public class TaskManagerJobScopeFormat extends ScopeFormat
JobMetricGroup
.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 |
---|
TaskManagerJobScopeFormat(String format,
TaskManagerScopeFormat parentFormat) |
Modifier and Type | Method and Description |
---|---|
String[] |
formatScope(TaskManagerMetricGroup parent,
JobID jid,
String jobName) |
arrayToMap, asVariable, bindVariables, concat, concat, concat, concat, copyTemplate, format, toString, valueOrNull
public TaskManagerJobScopeFormat(String format, TaskManagerScopeFormat parentFormat)
public String[] formatScope(TaskManagerMetricGroup parent, JobID jid, String jobName)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.