Interface SlotReleaseContext<SI extends SlotInfo>


public interface SlotReleaseContext<SI extends SlotInfo>
  • Method Details

    • getSlotReleaseReason

      SlotReleaseReason getSlotReleaseReason()
      Returns:
      The reason the slot is being released.
    • getSlotPermit

      SlotPermit getSlotPermit()
      Returns:
      The permit the slot was using that is now being released.
    • getSlotInfo

      @Nullable SI getSlotInfo()
      Returns:
      The information associated with the slot that is being released. May be null if the slot was never marked as used.