interface QueueLeaseInterface (View source)

Allows a database-backed handler to cooperatively extend its current delivery lease.

The capability exists only inside the Job scope of a renewable asynchronous transport. It does not interrupt a handler automatically when ownership is lost.

Methods

int
renew()

Extends the current live reservation and returns its new database Unix expiry time.

int

Details

renew

int renew()

Extends the current live reservation and returns its new database Unix expiry time.

Return Value

int

Exceptions

QueueLeaseLostException