Class JobGraphJobInformation
- java.lang.Object
-
- org.apache.flink.runtime.scheduler.adaptive.JobGraphJobInformation
-
- All Implemented Interfaces:
JobInformation
public class JobGraphJobInformation extends Object implements JobInformation
JobInformation
created from aJobGraph
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.runtime.scheduler.adaptive.allocator.JobInformation
JobInformation.VertexInformation
-
-
Constructor Summary
Constructors Constructor Description JobGraphJobInformation(JobGraph jobGraph, VertexParallelismStore vertexParallelismStore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobGraph
copyJobGraph()
Returns a copy of a jobGraph that can be mutated.JobCheckpointingSettings
getCheckpointingSettings()
org.apache.flink.api.common.JobID
getJobID()
String
getName()
Collection<SlotSharingGroup>
getSlotSharingGroups()
Returns all slot-sharing groups of the job.JobInformation.VertexInformation
getVertexInformation(JobVertexID jobVertexId)
VertexParallelismStore
getVertexParallelismStore()
Iterable<JobInformation.VertexInformation>
getVertices()
-
-
-
Constructor Detail
-
JobGraphJobInformation
public JobGraphJobInformation(JobGraph jobGraph, VertexParallelismStore vertexParallelismStore)
-
-
Method Detail
-
getSlotSharingGroups
public Collection<SlotSharingGroup> getSlotSharingGroups()
Description copied from interface:JobInformation
Returns all slot-sharing groups of the job.Attention: The returned slot sharing groups should never be modified (they are indeed mutable)!
- Specified by:
getSlotSharingGroups
in interfaceJobInformation
- Returns:
- all slot-sharing groups of the job
-
getVertexInformation
public JobInformation.VertexInformation getVertexInformation(JobVertexID jobVertexId)
- Specified by:
getVertexInformation
in interfaceJobInformation
-
getJobID
public org.apache.flink.api.common.JobID getJobID()
-
getName
public String getName()
-
getCheckpointingSettings
public JobCheckpointingSettings getCheckpointingSettings()
-
getVertices
public Iterable<JobInformation.VertexInformation> getVertices()
- Specified by:
getVertices
in interfaceJobInformation
-
copyJobGraph
public JobGraph copyJobGraph()
Returns a copy of a jobGraph that can be mutated.
-
getVertexParallelismStore
public VertexParallelismStore getVertexParallelismStore()
-
-