public static interface DeclarativeSlotPool.NewSlotsListener
Implementations of the DeclarativeSlotPool will call notifyNewSlotsAreAvailable(java.util.Collection<? extends org.apache.flink.runtime.jobmaster.slotpool.PhysicalSlot>) whenever newly offered slots are accepted or if an allocated
slot should become free after it is being freed.
| Modifier and Type | Method and Description |
|---|---|
void |
notifyNewSlotsAreAvailable(Collection<? extends PhysicalSlot> newlyAvailableSlots)
Notifies the listener about newly available slots.
|
void notifyNewSlotsAreAvailable(Collection<? extends PhysicalSlot> newlyAvailableSlots)
This method will be called whenever newly offered slots are accepted or if an
allocated slot should become free after it is being freed.
newlyAvailableSlots - are the newly available slotsCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.