Uses of Interface
org.apache.flink.runtime.jobmaster.slotpool.PhysicalSlot
-
Packages that use PhysicalSlot Package Description org.apache.flink.runtime.jobmaster.slotpool org.apache.flink.runtime.scheduler.adaptive.allocator -
-
Uses of PhysicalSlot in org.apache.flink.runtime.jobmaster.slotpool
Methods in org.apache.flink.runtime.jobmaster.slotpool that return PhysicalSlot Modifier and Type Method Description PhysicalSlotPhysicalSlotRequest.Result. getPhysicalSlot()PhysicalSlotDeclarativeSlotPool. reserveFreeSlot(AllocationID allocationId, ResourceProfile requiredSlotProfile)Reserves the free slot identified by the given allocationId and maps it to the given requiredSlotProfile.PhysicalSlotDefaultDeclarativeSlotPool. reserveFreeSlot(AllocationID allocationId, ResourceProfile requiredSlotProfile)Methods in org.apache.flink.runtime.jobmaster.slotpool that return types with arguments of type PhysicalSlot Modifier and Type Method Description Optional<PhysicalSlot>DeclarativeSlotPoolBridge. allocateAvailableSlot(SlotRequestId slotRequestId, AllocationID allocationID, ResourceProfile requirementProfile)Optional<PhysicalSlot>SlotPool. allocateAvailableSlot(SlotRequestId slotRequestId, AllocationID allocationID, ResourceProfile requirementProfile)Allocates the available slot with the given allocation id under the given request id for the given requirement profile.Collection<PhysicalSlot>DefaultFreeSlotTracker. getFreeSlotsInformation()Collection<PhysicalSlot>FreeSlotTracker. getFreeSlotsInformation()Returns a list ofPhysicalSlotobjects about all slots that are currently available in the slot pool.CompletableFuture<PhysicalSlot>DeclarativeSlotPoolBridge. requestNewAllocatedBatchSlot(SlotRequestId slotRequestId, ResourceProfile resourceProfile, Collection<AllocationID> preferredAllocations)default CompletableFuture<PhysicalSlot>SlotPool. requestNewAllocatedBatchSlot(SlotRequestId slotRequestId, ResourceProfile resourceProfile)Requests the allocation of a new batch slot from the resource manager.CompletableFuture<PhysicalSlot>SlotPool. requestNewAllocatedBatchSlot(SlotRequestId slotRequestId, ResourceProfile resourceProfile, Collection<AllocationID> preferredAllocations)CompletableFuture<PhysicalSlot>DeclarativeSlotPoolBridge. requestNewAllocatedSlot(SlotRequestId slotRequestId, ResourceProfile resourceProfile, Collection<AllocationID> preferredAllocations, Duration timeout)default CompletableFuture<PhysicalSlot>SlotPool. requestNewAllocatedSlot(SlotRequestId slotRequestId, ResourceProfile resourceProfile, Duration timeout)Request the allocation of a new slot from the resource manager.CompletableFuture<PhysicalSlot>SlotPool. requestNewAllocatedSlot(SlotRequestId slotRequestId, ResourceProfile resourceProfile, Collection<AllocationID> preferredAllocations, Duration timeout)Request the allocation of a new slot from the resource manager.Methods in org.apache.flink.runtime.jobmaster.slotpool with parameters of type PhysicalSlot Modifier and Type Method Description static SingleLogicalSlotSingleLogicalSlot. allocateFromPhysicalSlot(SlotRequestId slotRequestId, PhysicalSlot physicalSlot, Locality locality, SlotOwner slotOwner, boolean slotWillBeOccupiedIndefinitely)Method parameters in org.apache.flink.runtime.jobmaster.slotpool with type arguments of type PhysicalSlot Modifier and Type Method Description Collection<RequestSlotMatchingStrategy.RequestSlotMatch>PreferredAllocationRequestSlotMatchingStrategy. matchRequestsAndSlots(Collection<? extends PhysicalSlot> slots, Collection<org.apache.flink.runtime.jobmaster.slotpool.PendingRequest> pendingRequests)Collection<RequestSlotMatchingStrategy.RequestSlotMatch>RequestSlotMatchingStrategy. matchRequestsAndSlots(Collection<? extends PhysicalSlot> slots, Collection<org.apache.flink.runtime.jobmaster.slotpool.PendingRequest> pendingRequests)Match the given slots with the given collection of pending requests.Collection<RequestSlotMatchingStrategy.RequestSlotMatch>SimpleRequestSlotMatchingStrategy. matchRequestsAndSlots(Collection<? extends PhysicalSlot> slots, Collection<org.apache.flink.runtime.jobmaster.slotpool.PendingRequest> pendingRequests)voidDeclarativeSlotPool.NewSlotsListener. notifyNewSlotsAreAvailable(Collection<? extends PhysicalSlot> newlyAvailableSlots)Notifies the listener about newly available slots.voidDeclarativeSlotPool.NoOpNewSlotsListener. notifyNewSlotsAreAvailable(Collection<? extends PhysicalSlot> newlyAvailableSlots)Constructors in org.apache.flink.runtime.jobmaster.slotpool with parameters of type PhysicalSlot Constructor Description Result(SlotRequestId slotRequestId, PhysicalSlot physicalSlot)Constructor parameters in org.apache.flink.runtime.jobmaster.slotpool with type arguments of type PhysicalSlot Constructor Description DefaultFreeSlotTracker(Set<AllocationID> freeSlots, Function<AllocationID,PhysicalSlot> physicalSlotLookup, Function<AllocationID,AllocatedSlotPool.FreeSlotInfo> freeSlotInfoLookup, Function<ResourceID,Double> taskExecutorUtilizationLookup) -
Uses of PhysicalSlot in org.apache.flink.runtime.scheduler.adaptive.allocator
Methods in org.apache.flink.runtime.scheduler.adaptive.allocator that return PhysicalSlot Modifier and Type Method Description PhysicalSlotReserveSlotFunction. reserveSlot(AllocationID allocationId, ResourceProfile resourceProfile)Reserves the slot identified by the given allocation ID for the given resource profile.
-