Class AdminClientPoolImpl
java.lang.Object
net.greghaines.jesque.admin.AbstractAdminClient
net.greghaines.jesque.admin.AdminClientPoolImpl
- All Implemented Interfaces:
AdminClient
AdminClientPoolImpl publishes jobs to channels using a connection pool.
- Author:
- Greg Haines
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractAdminClient
AbstractAdminClient.Publisher -
Constructor Summary
ConstructorsConstructorDescriptionAdminClientPoolImpl(Config config, UnifiedJedis jedisPool) Create a new AdminClientPoolImpl using the supplied configuration and connection pool. -
Method Summary
Methods inherited from class AbstractAdminClient
doPublish, getNamespace, publish, publish, shutdownWorkers, shutdownWorkers, togglePausedWorkers, togglePausedWorkers
-
Constructor Details
-
AdminClientPoolImpl
Create a new AdminClientPoolImpl using the supplied configuration and connection pool.- Parameters:
config- used to create a connection to RedisjedisPool- the Redis connection pool
-
-
Method Details
-
doPublish
-
end
public void end()Quits the connection to the Redis server.
-