| Package | Description |
|---|---|
| net.greghaines.jesque.worker |
| Modifier and Type | Method and Description |
|---|---|
static NextQueueStrategy |
NextQueueStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NextQueueStrategy[] |
NextQueueStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
WorkerImpl(Config config,
Collection<String> queues,
JobFactory jobFactory,
redis.clients.jedis.Jedis jedis,
NextQueueStrategy nextQueueStrategy)
Creates a new WorkerImpl, with the given connection to Redis.
The worker will only listen to the supplied queues and execute jobs that are provided by the given job factory. |
WorkerPoolImpl(Config config,
Collection<String> queues,
JobFactory jobFactory,
redis.clients.util.Pool<redis.clients.jedis.Jedis> jedisPool,
NextQueueStrategy nextQueueStrategy)
Creates a new WorkerImpl, with the given connection to Redis.
The worker will only listen to the supplied queues and execute jobs that are provided by the given job factory. |
Copyright © 2011–2019. All rights reserved.