Package io.temporal.worker.tuning
Interface SlotReleaseContext<SI extends SlotInfo>
-
public interface SlotReleaseContext<SI extends SlotInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SIgetSlotInfo()SlotPermitgetSlotPermit()SlotReleaseReasongetSlotReleaseReason()
-
-
-
Method Detail
-
getSlotReleaseReason
SlotReleaseReason getSlotReleaseReason()
- Returns:
- The reason the slot is being released.
-
getSlotPermit
SlotPermit getSlotPermit()
- Returns:
- The permit the slot was using that is now being released.
-
getSlotInfo
@Nullable SI getSlotInfo()
- Returns:
- The information associated with the slot that is being released. May be null if the slot was never marked as used.
-
-