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
Modifier and TypeMethodDescriptionvoidreleaseSlot(SlotRequestId slotRequestId, Throwable cause) Releases the slot with the givenSlotRequestId.
-
Method Details
-
releaseSlot
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
-