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
Modifier and TypeMethodDescriptionorg.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 Details
-
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
-