3 namespace Wallabag\ImportBundle\Consumer
;
7 class RedisEntryConsumer
extends AbstractConsumer
implements Job
10 * Handle one message by one message.
12 * @param string $job Content of the message (directly from Redis)
16 public function manage($job)
18 return $this->handleMessage($job);
22 * Should tell if the given job will kill the worker.
23 * We don't want to stop it :).
25 * @param string $job Content of the message (directly from Redis)
29 public function isStopJob($job)
35 * This abstract method is only used when we use one queue for multiple job type.
36 * We don't do that, so we'll always return true.
38 * @param string $job Content of the message (directly from Redis)
42 public function isMyJob($job)