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.
@FunctionalInterface public interface FreeSlotFunction
A function for freeing slots.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
freeSlot(AllocationID allocationId, Throwable cause, long timestamp)
Frees the slot identified by the givenAllocationID
.
-
-
-
Method Detail
-
freeSlot
void freeSlot(AllocationID allocationId, @Nullable Throwable cause, long timestamp)
Frees the slot identified by the givenAllocationID
.If the slot is freed due to exceptional circumstances a
Throwable
cause should be provided.- Parameters:
allocationId
- identifies the slotcause
- reason for why the slot was freed; null during normal operationstimestamp
- when the slot was freed
-
-