Class JobDetailsInfo
- java.lang.Object
-
- org.apache.flink.runtime.rest.messages.job.JobDetailsInfo
-
- All Implemented Interfaces:
ResponseBody
public class JobDetailsInfo extends Object implements ResponseBody
Details about a job.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JobDetailsInfo.JobVertexDetailsInfo
Detailed information about a job vertex.
-
Field Summary
Fields Modifier and Type Field Description static String
FIELD_NAME_DURATION
static String
FIELD_NAME_END_TIME
static String
FIELD_NAME_IS_STOPPABLE
static String
FIELD_NAME_JOB_ID
static String
FIELD_NAME_JOB_NAME
static String
FIELD_NAME_JOB_STATUS
static String
FIELD_NAME_JOB_TYPE
static String
FIELD_NAME_JOB_VERTEX_INFOS
static String
FIELD_NAME_JOB_VERTICES_PER_STATE
static String
FIELD_NAME_JSON_PLAN
static String
FIELD_NAME_MAX_PARALLELISM
static String
FIELD_NAME_NOW
static String
FIELD_NAME_START_TIME
static String
FIELD_NAME_TIMESTAMPS
-
Constructor Summary
Constructors Constructor Description JobDetailsInfo(JobID jobId, String name, boolean isStoppable, JobStatus jobStatus, JobType jobType, long startTime, long endTime, long duration, long maxParallelism, long now, Map<JobStatus,Long> timestamps, Collection<JobDetailsInfo.JobVertexDetailsInfo> jobVertexInfos, Map<ExecutionState,Integer> jobVerticesPerState, JobPlanInfo.RawJson jsonPlan)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
long
getDuration()
long
getEndTime()
JobID
getJobId()
JobStatus
getJobStatus()
JobType
getJobType()
Collection<JobDetailsInfo.JobVertexDetailsInfo>
getJobVertexInfos()
Map<ExecutionState,Integer>
getJobVerticesPerState()
String
getJsonPlan()
long
getMaxParallelism()
String
getName()
long
getNow()
long
getStartTime()
Map<JobStatus,Long>
getTimestamps()
int
hashCode()
boolean
isStoppable()
-
-
-
Field Detail
-
FIELD_NAME_JOB_ID
public static final String FIELD_NAME_JOB_ID
- See Also:
- Constant Field Values
-
FIELD_NAME_JOB_NAME
public static final String FIELD_NAME_JOB_NAME
- See Also:
- Constant Field Values
-
FIELD_NAME_IS_STOPPABLE
public static final String FIELD_NAME_IS_STOPPABLE
- See Also:
- Constant Field Values
-
FIELD_NAME_JOB_STATUS
public static final String FIELD_NAME_JOB_STATUS
- See Also:
- Constant Field Values
-
FIELD_NAME_JOB_TYPE
public static final String FIELD_NAME_JOB_TYPE
- See Also:
- Constant Field Values
-
FIELD_NAME_START_TIME
public static final String FIELD_NAME_START_TIME
- See Also:
- Constant Field Values
-
FIELD_NAME_END_TIME
public static final String FIELD_NAME_END_TIME
- See Also:
- Constant Field Values
-
FIELD_NAME_DURATION
public static final String FIELD_NAME_DURATION
- See Also:
- Constant Field Values
-
FIELD_NAME_MAX_PARALLELISM
public static final String FIELD_NAME_MAX_PARALLELISM
- See Also:
- Constant Field Values
-
FIELD_NAME_NOW
public static final String FIELD_NAME_NOW
- See Also:
- Constant Field Values
-
FIELD_NAME_TIMESTAMPS
public static final String FIELD_NAME_TIMESTAMPS
- See Also:
- Constant Field Values
-
FIELD_NAME_JOB_VERTEX_INFOS
public static final String FIELD_NAME_JOB_VERTEX_INFOS
- See Also:
- Constant Field Values
-
FIELD_NAME_JOB_VERTICES_PER_STATE
public static final String FIELD_NAME_JOB_VERTICES_PER_STATE
- See Also:
- Constant Field Values
-
FIELD_NAME_JSON_PLAN
public static final String FIELD_NAME_JSON_PLAN
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JobDetailsInfo
public JobDetailsInfo(JobID jobId, String name, boolean isStoppable, JobStatus jobStatus, JobType jobType, long startTime, long endTime, long duration, long maxParallelism, long now, Map<JobStatus,Long> timestamps, Collection<JobDetailsInfo.JobVertexDetailsInfo> jobVertexInfos, Map<ExecutionState,Integer> jobVerticesPerState, JobPlanInfo.RawJson jsonPlan)
-
-
Method Detail
-
getJobId
public JobID getJobId()
-
getName
public String getName()
-
isStoppable
public boolean isStoppable()
-
getJobStatus
public JobStatus getJobStatus()
-
getJobType
public JobType getJobType()
-
getStartTime
public long getStartTime()
-
getEndTime
public long getEndTime()
-
getMaxParallelism
public long getMaxParallelism()
-
getDuration
public long getDuration()
-
getNow
public long getNow()
-
getJobVertexInfos
public Collection<JobDetailsInfo.JobVertexDetailsInfo> getJobVertexInfos()
-
getJobVerticesPerState
public Map<ExecutionState,Integer> getJobVerticesPerState()
-
getJsonPlan
public String getJsonPlan()
-
-