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