public class VertexParallelism extends Object
SlotAllocator.determineParallelism(JobInformation, Collection) among with
slotAssignments, describing the parallelism each vertex could be scheduled with.| Constructor and Description |
|---|
VertexParallelism(Map<JobVertexID,Integer> parallelismForVertices) |
| Modifier and Type | Method and Description |
|---|---|
static VertexParallelism |
empty() |
int |
getParallelism(JobVertexID jobVertexId) |
Optional<Integer> |
getParallelismOptional(JobVertexID jobVertexId) |
Set<JobVertexID> |
getVertices() |
String |
toString() |
public VertexParallelism(Map<JobVertexID,Integer> parallelismForVertices)
public int getParallelism(JobVertexID jobVertexId)
public Optional<Integer> getParallelismOptional(JobVertexID jobVertexId)
public Set<JobVertexID> getVertices()
public static VertexParallelism empty()
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.