Class SlotPermit
java.lang.Object
io.temporal.worker.tuning.SlotPermit
This class is handed out by implementations of
SlotSupplier. Permits are held until the
tasks they are associated with (if any) are finished processing, or if the reservation is no
longer needed. Your supplier implementation may store additional data in the permit, if desired.
When SlotSupplier.releaseSlot(SlotReleaseContext) is called, the exact same instance
of the permit is passed back to the supplier.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
userData
-
-
Constructor Details
-
SlotPermit
public SlotPermit() -
SlotPermit
-