@FunctionalInterface public interface FreeSlotFunction
Modifier and Type | Method and Description |
---|---|
void |
freeSlot(AllocationID allocationId,
Throwable cause,
long timestamp)
Frees the slot identified by the given
AllocationID . |
void freeSlot(AllocationID allocationId, @Nullable Throwable cause, long timestamp)
AllocationID
.
If the slot is freed due to exceptional circumstances a Throwable
cause should be
provided.
allocationId
- identifies the slotcause
- reason for why the slot was freed; null during normal operationstimestamp
- when the slot was freedCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.