Interface WeightLoadable
-
- All Known Implementing Classes:
ExecutionSlotSharingGroup,PhysicalSlotRequest,SlotSharingSlotAllocator.ExecutionSlotSharingGroup
@Internal public interface WeightLoadableThe interface that holds theLoadingWeightgetter is required for corresponding abstractions.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description LoadingWeightgetLoading()Get the loading weight.static <T extends WeightLoadable>
List<T>sortByLoadingDescend(Collection<T> weightLoadables)
-
-
-
Method Detail
-
getLoading
@Nonnull LoadingWeight getLoading()
Get the loading weight.- Returns:
- An implementation object of
LoadingWeight.
-
sortByLoadingDescend
static <T extends WeightLoadable> List<T> sortByLoadingDescend(Collection<T> weightLoadables)
-
-