$redis $redis : \think\queue\connector\Redis The redis queue instance. Type \think\queue\connector\Redis
isReleased() isReleased() : boolean Determine if the job was released back into the queue. Returns boolean
isDeletedOrReleased() isDeletedOrReleased() : boolean Determine if the job has been deleted or released. Returns boolean
__construct() __construct(\think\queue\connector\Redis $redis, $job, $queue) Parameters \think\queue\connector\Redis $redis $job $queue
resolveAndFire() resolveAndFire(array $payload) : void Resolve and fire the job handler method. Parameters array $payload
parseJob() parseJob(string $job) : array Parse the job declaration into class and method. Parameters string $job Returns array
resolve() resolve(string $name) : mixed Resolve the given job handler. Parameters string $name Returns mixed
getSeconds() getSeconds(\DateTime|integer $delay) : integer Calculate the number of seconds with the given delay. Parameters \DateTime|integer $delay Returns integer