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.