public class PhysicalSlotRequestBulkCheckerImpl extends Object implements PhysicalSlotRequestBulkChecker
PhysicalSlotRequestBulkChecker.| 限定符和类型 | 方法和说明 |
|---|---|
static PhysicalSlotRequestBulkCheckerImpl |
createFromSlotPool(SlotPool slotPool,
org.apache.flink.util.clock.Clock clock) |
void |
schedulePendingRequestBulkTimeoutCheck(PhysicalSlotRequestBulk bulk,
org.apache.flink.api.common.time.Time timeout)
Starts tracking the fulfillability of a
PhysicalSlotRequestBulk with timeout. |
void |
start(org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor mainThreadExecutor)
Starts the bulk checker by initializing the main thread executor.
|
public void start(org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor mainThreadExecutor)
PhysicalSlotRequestBulkCheckerstart 在接口中 PhysicalSlotRequestBulkCheckermainThreadExecutor - the main thread executor of the job masterpublic void schedulePendingRequestBulkTimeoutCheck(PhysicalSlotRequestBulk bulk, org.apache.flink.api.common.time.Time timeout)
PhysicalSlotRequestBulkCheckerPhysicalSlotRequestBulk with timeout.schedulePendingRequestBulkTimeoutCheck 在接口中 PhysicalSlotRequestBulkCheckerbulk - PhysicalSlotRequestBulk to tracktimeout - timeout after which the bulk should be canceled if it is still not
fulfillable.public static PhysicalSlotRequestBulkCheckerImpl createFromSlotPool(SlotPool slotPool, org.apache.flink.util.clock.Clock clock)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.