Interface JobStatusProvider
-
- All Known Subinterfaces:
AccessExecutionGraph
,ExecutionGraph
- All Known Implementing Classes:
ArchivedExecutionGraph
,DefaultExecutionGraph
,JobStatusStore
public interface JobStatusProvider
Interface for querying the state of a job and the timestamps of state transitions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.flink.api.common.JobStatus
getState()
Returns the currentJobStatus
for this execution graph.long
getStatusTimestamp(org.apache.flink.api.common.JobStatus status)
Returns the timestamp for the givenJobStatus
.
-
-
-
Method Detail
-
getState
org.apache.flink.api.common.JobStatus getState()
Returns the currentJobStatus
for this execution graph.- Returns:
- job status for this execution graph
-
getStatusTimestamp
long getStatusTimestamp(org.apache.flink.api.common.JobStatus status)
Returns the timestamp for the givenJobStatus
.- Parameters:
status
- status for which the timestamp should be returned- Returns:
- timestamp for the given job status
-
-