Class SlotSharingSlotAllocator.ExecutionSlotSharingGroup
- java.lang.Object
-
- org.apache.flink.runtime.scheduler.adaptive.allocator.SlotSharingSlotAllocator.ExecutionSlotSharingGroup
-
- All Implemented Interfaces:
WeightLoadable
- Enclosing class:
- SlotSharingSlotAllocator
public static class SlotSharingSlotAllocator.ExecutionSlotSharingGroup extends Object implements WeightLoadable
The execution slot sharing group for adaptive scheduler.
-
-
Constructor Summary
Constructors Constructor Description ExecutionSlotSharingGroup(String id, SlotSharingGroup slotSharingGroup, Set<ExecutionVertexID> containedExecutionVertices)ExecutionSlotSharingGroup(SlotSharingGroup slotSharingGroup, Set<ExecutionVertexID> containedExecutionVertices)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<ExecutionVertexID>getContainedExecutionVertices()StringgetId()LoadingWeightgetLoading()Get the loading weight.SlotSharingGroupgetSlotSharingGroup()
-
-
-
Constructor Detail
-
ExecutionSlotSharingGroup
public ExecutionSlotSharingGroup(SlotSharingGroup slotSharingGroup, Set<ExecutionVertexID> containedExecutionVertices)
-
ExecutionSlotSharingGroup
public ExecutionSlotSharingGroup(String id, SlotSharingGroup slotSharingGroup, Set<ExecutionVertexID> containedExecutionVertices)
-
-
Method Detail
-
getSlotSharingGroup
@VisibleForTesting public SlotSharingGroup getSlotSharingGroup()
-
getId
public String getId()
-
getContainedExecutionVertices
public Collection<ExecutionVertexID> getContainedExecutionVertices()
-
getLoading
@Nonnull public LoadingWeight getLoading()
Description copied from interface:WeightLoadableGet the loading weight.- Specified by:
getLoadingin interfaceWeightLoadable- Returns:
- An implementation object of
LoadingWeight.
-
-