ClearableQueue.php
2 years ago
EntityNotFoundException.php
2 years ago
EntityResolver.php
2 years ago
Factory.php
2 years ago
Job.php
3 weeks ago
Monitor.php
3 weeks ago
Queue.php
3 weeks ago
QueueableCollection.php
3 weeks ago
QueueableEntity.php
2 years ago
ShouldBeEncrypted.php
2 years ago
ShouldBeUnique.php
2 years ago
ShouldBeUniqueUntilProcessing.php
2 years ago
ShouldQueue.php
2 years ago
Monitor.php
30 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWPSCOPED\Illuminate\Contracts\Queue; |
| 4 | |
| 5 | /** @internal */ |
| 6 | interface Monitor |
| 7 | { |
| 8 | /** |
| 9 | * Register a callback to be executed on every iteration through the queue loop. |
| 10 | * |
| 11 | * @param mixed $callback |
| 12 | * @return void |
| 13 | */ |
| 14 | public function looping($callback); |
| 15 | /** |
| 16 | * Register a callback to be executed when a job fails after the maximum number of retries. |
| 17 | * |
| 18 | * @param mixed $callback |
| 19 | * @return void |
| 20 | */ |
| 21 | public function failing($callback); |
| 22 | /** |
| 23 | * Register a callback to be executed when a daemon queue is stopping. |
| 24 | * |
| 25 | * @param mixed $callback |
| 26 | * @return void |
| 27 | */ |
| 28 | public function stopping($callback); |
| 29 | } |
| 30 |