@FunctionalInterface public interface ReserveSlotFunction
| 限定符和类型 | 方法和说明 |
|---|---|
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–2023 The Apache Software Foundation. All rights reserved.