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 Detail

      • releaseSlot

        void releaseSlot​(@Nonnull
                         SlotRequestId slotRequestId,
                         @Nullable
                         Throwable cause)
        Releases the slot with the given SlotRequestId. Additionally, one can provide a cause for the slot release.
        Parameters:
        slotRequestId - identifying the slot to release
        cause - of the slot release, null if none