Uses of Interface
org.apache.flink.runtime.jobmaster.slotpool.PhysicalSlot
Packages that use PhysicalSlot
Package
Description
-
Uses of PhysicalSlot in org.apache.flink.runtime.jobmaster.slotpool
Methods in org.apache.flink.runtime.jobmaster.slotpool that return PhysicalSlotModifier and TypeMethodDescriptionPhysicalSlotRequest.Result.getPhysicalSlot()DeclarativeSlotPool.reserveFreeSlot(AllocationID allocationId, ResourceProfile requiredSlotProfile) Reserves the free slot identified by the given allocationId and maps it to the given requiredSlotProfile.DefaultDeclarativeSlotPool.reserveFreeSlot(AllocationID allocationId, ResourceProfile requiredSlotProfile) Methods in org.apache.flink.runtime.jobmaster.slotpool that return types with arguments of type PhysicalSlotModifier and TypeMethodDescriptionDeclarativeSlotPoolBridge.allocateAvailableSlot(SlotRequestId slotRequestId, AllocationID allocationID, ResourceProfile requirementProfile) 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.DefaultFreeSlotTracker.getFreeSlotsInformation()FreeSlotTracker.getFreeSlotsInformation()Returns a list ofPhysicalSlotobjects about all slots that are currently available in the slot pool.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.SlotPool.requestNewAllocatedBatchSlot(SlotRequestId slotRequestId, ResourceProfile resourceProfile, Collection<AllocationID> preferredAllocations) 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.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 PhysicalSlotModifier and TypeMethodDescriptionstatic 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 PhysicalSlotModifier and TypeMethodDescriptionPreferredAllocationRequestSlotMatchingStrategy.matchRequestsAndSlots(Collection<? extends PhysicalSlot> slots, Collection<org.apache.flink.runtime.jobmaster.slotpool.PendingRequest> pendingRequests) 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.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 PhysicalSlotConstructor parameters in org.apache.flink.runtime.jobmaster.slotpool with type arguments of type PhysicalSlotModifierConstructorDescriptionDefaultFreeSlotTracker(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 PhysicalSlotModifier and TypeMethodDescriptionReserveSlotFunction.reserveSlot(AllocationID allocationId, ResourceProfile resourceProfile) Reserves the slot identified by the given allocation ID for the given resource profile.