@FunctionalInterface public interface ReserveSlotFunction
Modifier and Type | Method and Description |
---|---|
PhysicalSlot |
reserveSlot(AllocationID allocationId,
ResourceProfile resourceProfile)
Reserves the slot identified by the given allocation ID for the given resource profile.
|
PhysicalSlot reserveSlot(AllocationID allocationId, ResourceProfile resourceProfile)
allocationId
- identifies the slotresourceProfile
- resource profile the slot must be able to fulfillCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.