@FunctionalInterface public interface FreeSlotFunction
| 限定符和类型 | 方法和说明 |
|---|---|
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–2022 The Apache Software Foundation. All rights reserved.