Interface PhysicalSlot.Payload
-
- All Known Implementing Classes:
SingleLogicalSlot
- Enclosing interface:
- PhysicalSlot
public static interface PhysicalSlot.PayloadPayload which can be assigned to anAllocatedSlot.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrelease(Throwable cause)Releases the payload.booleanwillOccupySlotIndefinitely()Returns whether the payload will occupy a physical slot indefinitely.
-
-
-
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
-
-