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.
A function for reserving slots.
-
Method Summary
Modifier and TypeMethodDescriptionreserveSlot(AllocationID allocationId, ResourceProfile resourceProfile) Reserves the slot identified by the given allocation ID for the given resource profile.
-
Method Details
-
reserveSlot
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
-