public interface AllocatedSlotActions
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Acknowledge> |
releaseSlot(SlotRequestId slotRequestId,
SlotSharingGroupId slotSharingGroupId,
Throwable cause)
Releases the slot with the given
SlotRequestId. |
CompletableFuture<Acknowledge> releaseSlot(SlotRequestId slotRequestId, @Nullable SlotSharingGroupId slotSharingGroupId, @Nullable Throwable cause)
SlotRequestId. If the slot belonged to a
slot sharing group, then the corresponding SlotSharingGroupId has to be
provided. Additionally, one can provide a cause for the slot release.slotRequestId - identifying the slot to releaseslotSharingGroupId - identifying the slot sharing group to which the slot belongs, null if nonecause - of the slot release, null if noneCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.