Class JobTopology
- java.lang.Object
-
- org.apache.flink.autoscaler.topology.JobTopology
-
public class JobTopology extends java.lang.Object
Structure representing information about the jobgraph that is relevant for scaling.
-
-
Constructor Summary
Constructors Constructor Description JobTopology(java.util.Collection<VertexInfo> vertexInfo)
JobTopology(java.util.Set<VertexInfo> vertexInfo)
JobTopology(VertexInfo... vertexInfo)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JobTopology
fromJsonPlan(java.lang.String jsonPlan, java.util.Map<org.apache.flink.runtime.jobgraph.JobVertexID,org.apache.flink.runtime.instance.SlotSharingGroupId> slotSharingGroupIdMap, java.util.Map<org.apache.flink.runtime.jobgraph.JobVertexID,java.lang.Integer> maxParallelismMap, java.util.Map<org.apache.flink.runtime.jobgraph.JobVertexID,IOMetrics> metrics, java.util.Set<org.apache.flink.runtime.jobgraph.JobVertexID> finishedVertices)
VertexInfo
get(org.apache.flink.runtime.jobgraph.JobVertexID jvi)
boolean
isSource(org.apache.flink.runtime.jobgraph.JobVertexID jobVertexID)
-
-
-
Constructor Detail
-
JobTopology
public JobTopology(java.util.Collection<VertexInfo> vertexInfo)
-
JobTopology
public JobTopology(VertexInfo... vertexInfo)
-
JobTopology
public JobTopology(java.util.Set<VertexInfo> vertexInfo)
-
-
Method Detail
-
get
public VertexInfo get(org.apache.flink.runtime.jobgraph.JobVertexID jvi)
-
isSource
public boolean isSource(org.apache.flink.runtime.jobgraph.JobVertexID jobVertexID)
-
fromJsonPlan
public static JobTopology fromJsonPlan(java.lang.String jsonPlan, java.util.Map<org.apache.flink.runtime.jobgraph.JobVertexID,org.apache.flink.runtime.instance.SlotSharingGroupId> slotSharingGroupIdMap, java.util.Map<org.apache.flink.runtime.jobgraph.JobVertexID,java.lang.Integer> maxParallelismMap, java.util.Map<org.apache.flink.runtime.jobgraph.JobVertexID,IOMetrics> metrics, java.util.Set<org.apache.flink.runtime.jobgraph.JobVertexID> finishedVertices) throws org.apache.flink.shaded.jackson2.com.fasterxml.jackson.core.JsonProcessingException
- Throws:
org.apache.flink.shaded.jackson2.com.fasterxml.jackson.core.JsonProcessingException
-
-