Class JobGraphJobInformation
- java.lang.Object
-
- org.apache.flink.runtime.scheduler.adaptive.JobGraphJobInformation
-
- All Implemented Interfaces:
JobInformation
public class JobGraphJobInformation extends Object implements JobInformation
JobInformationcreated 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 JobGraphcopyJobGraph()Returns a copy of a jobGraph that can be mutated.JobCheckpointingSettingsgetCheckpointingSettings()org.apache.flink.api.common.JobIDgetJobID()StringgetName()Collection<SlotSharingGroup>getSlotSharingGroups()Returns all slot-sharing groups of the job.JobInformation.VertexInformationgetVertexInformation(JobVertexID jobVertexId)VertexParallelismStoregetVertexParallelismStore()Iterable<JobInformation.VertexInformation>getVertices()
-
-
-
Constructor Detail
-
JobGraphJobInformation
public JobGraphJobInformation(JobGraph jobGraph, VertexParallelismStore vertexParallelismStore)
-
-
Method Detail
-
getSlotSharingGroups
public Collection<SlotSharingGroup> getSlotSharingGroups()
Description copied from interface:JobInformationReturns all slot-sharing groups of the job.Attention: The returned slot sharing groups should never be modified (they are indeed mutable)!
- Specified by:
getSlotSharingGroupsin interfaceJobInformation- Returns:
- all slot-sharing groups of the job
-
getVertexInformation
public JobInformation.VertexInformation getVertexInformation(JobVertexID jobVertexId)
- Specified by:
getVertexInformationin 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:
getVerticesin interfaceJobInformation
-
copyJobGraph
public JobGraph copyJobGraph()
Returns a copy of a jobGraph that can be mutated.
-
getVertexParallelismStore
public VertexParallelismStore getVertexParallelismStore()
-
-