@@ 99-110 (lines=12) @@ | ||
96 | return $this->enqueue($job, $trackStatus); |
|
97 | } |
|
98 | ||
99 | public function enqueueAt($at, Job $job) |
|
100 | { |
|
101 | if ($job instanceof ContainerAwareJob) { |
|
102 | $job->setKernelOptions($this->kernelOptions); |
|
103 | } |
|
104 | ||
105 | $this->attachRetryStrategy($job); |
|
106 | ||
107 | \ResqueScheduler::enqueueAt($at, $job->queue, \get_class($job), $job->args); |
|
108 | ||
109 | return null; |
|
110 | } |
|
111 | ||
112 | public function enqueueIn($in, Job $job) |
|
113 | { |
|
@@ 112-123 (lines=12) @@ | ||
109 | return null; |
|
110 | } |
|
111 | ||
112 | public function enqueueIn($in, Job $job) |
|
113 | { |
|
114 | if ($job instanceof ContainerAwareJob) { |
|
115 | $job->setKernelOptions($this->kernelOptions); |
|
116 | } |
|
117 | ||
118 | $this->attachRetryStrategy($job); |
|
119 | ||
120 | \ResqueScheduler::enqueueIn($in, $job->queue, \get_class($job), $job->args); |
|
121 | ||
122 | return null; |
|
123 | } |
|
124 | ||
125 | public function removedDelayed(Job $job) |
|
126 | { |
|
@@ 125-134 (lines=10) @@ | ||
122 | return null; |
|
123 | } |
|
124 | ||
125 | public function removedDelayed(Job $job) |
|
126 | { |
|
127 | if ($job instanceof ContainerAwareJob) { |
|
128 | $job->setKernelOptions($this->kernelOptions); |
|
129 | } |
|
130 | ||
131 | $this->attachRetryStrategy($job); |
|
132 | ||
133 | return \ResqueScheduler::removeDelayed($job->queue, \get_class($job), $job->args); |
|
134 | } |
|
135 | ||
136 | public function removeFromTimestamp($at, Job $job) |
|
137 | { |
|
@@ 136-145 (lines=10) @@ | ||
133 | return \ResqueScheduler::removeDelayed($job->queue, \get_class($job), $job->args); |
|
134 | } |
|
135 | ||
136 | public function removeFromTimestamp($at, Job $job) |
|
137 | { |
|
138 | if ($job instanceof ContainerAwareJob) { |
|
139 | $job->setKernelOptions($this->kernelOptions); |
|
140 | } |
|
141 | ||
142 | $this->attachRetryStrategy($job); |
|
143 | ||
144 | return \ResqueScheduler::removeDelayedJobFromTimestamp($at, $job->queue, \get_class($job), $job->args); |
|
145 | } |
|
146 | ||
147 | public function getQueues() |
|
148 | { |