InteractsWithUniqueJobs
trait InteractsWithUniqueJobs (View source)
Methods
void
addUniqueJobInformationToContext(mixed $job)
Store unique job information in the context in case we can't resolve the job on the queue side.
void
removeUniqueJobInformationFromContext(mixed $job)
Remove the unique job information from the context.
string|null
getUniqueJobCacheStore(mixed $job)
Determine the cache store used by the unique job to acquire locks.
Details
void
addUniqueJobInformationToContext(mixed $job)
Store unique job information in the context in case we can't resolve the job on the queue side.
void
removeUniqueJobInformationFromContext(mixed $job)
Remove the unique job information from the context.
protected string|null
getUniqueJobCacheStore(mixed $job)
Determine the cache store used by the unique job to acquire locks.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.