Interface ReserveSlotFunction
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ReserveSlotFunction
A function for reserving slots.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PhysicalSlot
reserveSlot(AllocationID allocationId, ResourceProfile resourceProfile)
Reserves the slot identified by the given allocation ID for the given resource profile.
-
-
-
Method Detail
-
reserveSlot
PhysicalSlot reserveSlot(AllocationID allocationId, ResourceProfile resourceProfile)
Reserves the slot identified by the given allocation ID for the given resource profile.- Parameters:
allocationId
- identifies the slotresourceProfile
- resource profile the slot must be able to fulfill- Returns:
- reserved slot
-
-