public class PhysicalSlotRequestBulkCheckerImpl extends Object implements PhysicalSlotRequestBulkChecker
PhysicalSlotRequestBulkChecker
.Modifier and Type | Method and Description |
---|---|
static PhysicalSlotRequestBulkCheckerImpl |
createFromSlotPool(SlotPool slotPool,
Clock clock) |
void |
schedulePendingRequestBulkTimeoutCheck(PhysicalSlotRequestBulk bulk,
Time timeout)
Starts tracking the fulfillability of a
PhysicalSlotRequestBulk with timeout. |
void |
start(ComponentMainThreadExecutor mainThreadExecutor)
Starts the bulk checker by initializing the main thread executor.
|
public void start(ComponentMainThreadExecutor mainThreadExecutor)
PhysicalSlotRequestBulkChecker
start
in interface PhysicalSlotRequestBulkChecker
mainThreadExecutor
- the main thread executor of the job masterpublic void schedulePendingRequestBulkTimeoutCheck(PhysicalSlotRequestBulk bulk, Time timeout)
PhysicalSlotRequestBulkChecker
PhysicalSlotRequestBulk
with timeout.schedulePendingRequestBulkTimeoutCheck
in interface PhysicalSlotRequestBulkChecker
bulk
- PhysicalSlotRequestBulk
to tracktimeout
- timeout after which the bulk should be canceled if it is still not
fulfillable.public static PhysicalSlotRequestBulkCheckerImpl createFromSlotPool(SlotPool slotPool, Clock clock)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.