public class AdminClientPoolImpl extends AbstractAdminClient
| Constructor and Description |
|---|
AdminClientPoolImpl(Config config,
redis.clients.util.Pool<redis.clients.jedis.Jedis> jedisPool)
Create a new AdminClientPoolImpl using the supplied configuration and connection pool.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doPublish(String channel,
String jobJson)
Actually publish the serialized job.
|
void |
end()
Quits the connection to the Redis server.
|
doPublish, getNamespace, publish, publish, shutdownWorkers, shutdownWorkers, togglePausedWorkers, togglePausedWorkerspublic AdminClientPoolImpl(Config config, redis.clients.util.Pool<redis.clients.jedis.Jedis> jedisPool)
config - used to create a connection to RedisjedisPool - the Redis connection poolprotected void doPublish(String channel, String jobJson) throws Exception
doPublish in class AbstractAdminClientchannel - the queue to add the Job tojobJson - the serialized JobException - in case something goes wrongpublic void end()
Copyright © 2011–2019. All rights reserved.