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 Detail

      • 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