public class RestartTimeGauge extends Object implements org.apache.flink.metrics.Gauge<Long>
Restarting time is the time between JobStatus.RESTARTING and JobStatus.RUNNING,
or a terminal state if JobStatus.RUNNING was not reached.
If the job has not yet reached either of these states, then the time is measured since reaching
JobStatus.RESTARTING. If it is still the initial job execution, then the gauge will return 0.
| Modifier and Type | Field and Description |
|---|---|
static String |
METRIC_NAME |
| Constructor and Description |
|---|
RestartTimeGauge(ExecutionGraph executionGraph) |
public static final String METRIC_NAME
public RestartTimeGauge(ExecutionGraph executionGraph)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.