public class JobStatusStore extends Object implements JobStatusListener, JobStatusProvider
| 构造器和说明 |
|---|
JobStatusStore(long initializationTimestamp) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.flink.api.common.JobStatus |
getState()
Returns the current
JobStatus for this execution graph. |
long |
getStatusTimestamp(org.apache.flink.api.common.JobStatus status)
Returns the timestamp for the given
JobStatus. |
void |
jobStatusChanges(org.apache.flink.api.common.JobID jobId,
org.apache.flink.api.common.JobStatus newJobStatus,
long timestamp)
This method is called whenever the status of the job changes.
|
public void jobStatusChanges(org.apache.flink.api.common.JobID jobId,
org.apache.flink.api.common.JobStatus newJobStatus,
long timestamp)
JobStatusListenerjobStatusChanges 在接口中 JobStatusListenerjobId - The ID of the job.newJobStatus - The status the job switched to.timestamp - The timestamp when the status transition occurred.public org.apache.flink.api.common.JobStatus getState()
JobStatusProviderJobStatus for this execution graph.getState 在接口中 JobStatusProviderpublic long getStatusTimestamp(org.apache.flink.api.common.JobStatus status)
JobStatusProviderJobStatus.getStatusTimestamp 在接口中 JobStatusProviderstatus - status for which the timestamp should be returnedCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.