Interface AllocatedSlotActions
-
- All Known Subinterfaces:
SlotPool
- All Known Implementing Classes:
DeclarativeSlotPoolBridge
public interface AllocatedSlotActionsInterface for components which have to perform actions on allocated slots.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidreleaseSlot(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
-
-