Class JobDetails
java.lang.Object
org.apache.flink.runtime.messages.webmonitor.JobDetails
- All Implemented Interfaces:
Serializable
An actor message with a detailed overview of the current status of a job.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe CurrentAttempts holds the attempt number of the current representative execution attempt, the attempt numbers of all the running attempts, and whether the current execution has reached terminal state. -
Constructor Summary
ConstructorsConstructorDescriptionJobDetails(org.apache.flink.api.common.JobID jobId, String jobName, long startTime, long endTime, long duration, org.apache.flink.api.common.JobStatus status, long lastUpdateTime, int[] tasksPerState, int numTasks) JobDetails(org.apache.flink.api.common.JobID jobId, String jobName, long startTime, long endTime, long duration, org.apache.flink.api.common.JobStatus status, long lastUpdateTime, int[] tasksPerState, int numTasks, Map<String, Map<Integer, JobDetails.CurrentAttempts>> currentExecutionAttempts) JobDetails(org.apache.flink.api.common.JobID jobId, String jobName, long startTime, long endTime, long duration, org.apache.flink.api.common.JobStatus status, long lastUpdateTime, int[] tasksPerState, int numTasks, Map<String, Map<Integer, JobDetails.CurrentAttempts>> currentExecutionAttempts, int pendingOperators) JobDetails(org.apache.flink.api.common.JobID jobId, String jobName, long startTime, long endTime, long duration, org.apache.flink.api.common.JobStatus status, long lastUpdateTime, Map<String, Integer> taskInfo, int pendingOperators) -
Method Summary
Modifier and TypeMethodDescriptionstatic JobDetailsbooleanlonglongorg.apache.flink.api.common.JobIDgetJobId()longintintlongorg.apache.flink.api.common.JobStatusint[]inthashCode()toString()
-
Constructor Details
-
JobDetails
-
JobDetails
@VisibleForTesting public JobDetails(org.apache.flink.api.common.JobID jobId, String jobName, long startTime, long endTime, long duration, org.apache.flink.api.common.JobStatus status, long lastUpdateTime, int[] tasksPerState, int numTasks) -
JobDetails
-
JobDetails
public JobDetails(org.apache.flink.api.common.JobID jobId, String jobName, long startTime, long endTime, long duration, org.apache.flink.api.common.JobStatus status, long lastUpdateTime, int[] tasksPerState, int numTasks, Map<String, Map<Integer, JobDetails.CurrentAttempts>> currentExecutionAttempts, int pendingOperators)
-
-
Method Details
-
createDetailsForJob
-
getJobId
public org.apache.flink.api.common.JobID getJobId() -
getJobName
-
getStartTime
public long getStartTime() -
getEndTime
public long getEndTime() -
getDuration
public long getDuration() -
getStatus
public org.apache.flink.api.common.JobStatus getStatus() -
getLastUpdateTime
public long getLastUpdateTime() -
getTaskInfo
-
getPendingOperators
public int getPendingOperators() -
getNumTasks
public int getNumTasks() -
getTasksPerState
public int[] getTasksPerState() -
getCurrentExecutionAttempts
-
equals
-
hashCode
public int hashCode() -
toString
-