Interface FreeSlotFunction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A function for freeing slots.
-
Method Summary
Modifier and TypeMethodDescriptionvoidfreeSlot(AllocationID allocationId, Throwable cause, long timestamp) Frees the slot identified by the givenAllocationID.
-
Method Details
-
freeSlot
Frees the slot identified by the givenAllocationID.If the slot is freed due to exceptional circumstances a
Throwablecause should be provided.- Parameters:
allocationId- identifies the slotcause- reason for why the slot was freed; null during normal operationstimestamp- when the slot was freed
-