Interface PhysicalSlot.Payload

All Known Implementing Classes:
SingleLogicalSlot
Enclosing interface:
PhysicalSlot

public static interface PhysicalSlot.Payload
Payload which can be assigned to an AllocatedSlot.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Releases the payload.
    boolean
    Returns whether the payload will occupy a physical slot indefinitely.
  • Method Details

    • release

      void release(Throwable cause)
      Releases the payload.
      Parameters:
      cause - of the payload release
    • willOccupySlotIndefinitely

      boolean willOccupySlotIndefinitely()
      Returns whether the payload will occupy a physical slot indefinitely.
      Returns:
      true if the payload will occupy a physical slot indefinitely, otherwise false