QueueLease
final class QueueLease implements QueueLeaseInterface (View source)
| internal |
Binds one renewable transport delivery to the handler's isolated Job scope.
Methods
Creates a lease capability for one transport-owned delivery.
renew()
Extends the reservation only while the original delivery still owns it.
int
Details
__construct
__construct(RenewableQueueTransportInterface $transport, QueuedMessage $message)
Creates a lease capability for one transport-owned delivery.
renew
int
renew()
Extends the reservation only while the original delivery still owns it.