|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.greghaines.jesque.worker.WorkerPool
net.lariverosc.jesquespring.SpringWorkerPool
public class SpringWorkerPool
| Field Summary |
|---|
| Fields inherited from interface net.greghaines.jesque.worker.Worker |
|---|
ALL_QUEUES |
| Constructor Summary | |
|---|---|
SpringWorkerPool(Callable<? extends net.greghaines.jesque.worker.Worker> workerFactory,
int numWorkers)
Constructor for SpringWorkerPool |
|
SpringWorkerPool(Callable<? extends net.greghaines.jesque.worker.Worker> workerFactory,
int numWorkers,
ThreadFactory threadFactory)
Constructor for SpringWorkerPool |
|
| Method Summary | |
|---|---|
void |
destroy()
Convenient destroy method for the Spring container |
void |
init()
Convenient initialization method for the Spring container |
| Methods inherited from class net.greghaines.jesque.worker.WorkerPool |
|---|
addJobType, addListener, addListener, addQueue, end, endAndJoin, getExceptionHandler, getJobTypes, getName, getQueues, isPaused, isShutdown, join, removeAllListeners, removeAllListeners, removeAllQueues, removeJobName, removeJobType, removeListener, removeListener, removeQueue, run, setExceptionHandler, setJobTypes, setQueues, togglePause |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpringWorkerPool(Callable<? extends net.greghaines.jesque.worker.Worker> workerFactory,
int numWorkers)
workerFactory - numWorkers -
public SpringWorkerPool(Callable<? extends net.greghaines.jesque.worker.Worker> workerFactory,
int numWorkers,
ThreadFactory threadFactory)
workerFactory - numWorkers - threadFactory - | Method Detail |
|---|
public void init()
public void destroy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||