Interface AllocatedSlotActions
-
- All Known Subinterfaces:
SlotPool
- All Known Implementing Classes:
DeclarativeSlotPoolBridge
public interface AllocatedSlotActions
Interface for components which have to perform actions on allocated slots.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
releaseSlot(SlotRequestId slotRequestId, Throwable cause)
Releases the slot with the givenSlotRequestId
.
-
-
-
Method Detail
-
releaseSlot
void releaseSlot(@Nonnull SlotRequestId slotRequestId, @Nullable Throwable cause)
Releases the slot with the givenSlotRequestId
. Additionally, one can provide a cause for the slot release.- Parameters:
slotRequestId
- identifying the slot to releasecause
- of the slot release, null if none
-
-