Class JobStatusStore

    • Constructor Detail

      • JobStatusStore

        public JobStatusStore​(long initializationTimestamp)
    • Method Detail

      • jobStatusChanges

        public void jobStatusChanges​(org.apache.flink.api.common.JobID jobId,
                                     org.apache.flink.api.common.JobStatus newJobStatus,
                                     long timestamp)
        Description copied from interface: JobStatusListener
        This method is called whenever the status of the job changes.
        Specified by:
        jobStatusChanges in interface JobStatusListener
        Parameters:
        jobId - The ID of the job.
        newJobStatus - The status the job switched to.
        timestamp - The timestamp when the status transition occurred.
      • getState

        public org.apache.flink.api.common.JobStatus getState()
        Description copied from interface: JobStatusProvider
        Returns the current JobStatus for this execution graph.
        Specified by:
        getState in interface JobStatusProvider
        Returns:
        job status for this execution graph
      • getStatusTimestamp

        public long getStatusTimestamp​(org.apache.flink.api.common.JobStatus status)
        Description copied from interface: JobStatusProvider
        Returns the timestamp for the given JobStatus.
        Specified by:
        getStatusTimestamp in interface JobStatusProvider
        Parameters:
        status - status for which the timestamp should be returned
        Returns:
        timestamp for the given job status