Interface JobStatusProvider
-
- All Known Subinterfaces:
AccessExecutionGraph,ExecutionGraph
- All Known Implementing Classes:
ArchivedExecutionGraph,DefaultExecutionGraph,JobStatusStore
public interface JobStatusProviderInterface 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.JobStatusgetState()Returns the currentJobStatusfor this execution graph.longgetStatusTimestamp(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 currentJobStatusfor 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
-
-