| Interface | Description |
|---|---|
| ExceptionHandler | |
| JobExecutor | |
| Worker |
A Worker polls for Jobs from a specified list of queues, executing
them in sequence and notifying WorkerListeners in the process.
|
| WorkerAware | |
| WorkerEventEmitter |
A WorkerEventEmitter allows WorkerListeners to register for WorkerEvents.
|
| WorkerListener |
A WorkerListener can register with a Worker to be notified of WorkerEvents.
|
| Class | Description |
|---|---|
| DefaultExceptionHandler | |
| LoggingWorkerListener |
An implementation of WorkerListener that logs every event that it is registered for.
|
| WorkerExitOnEmpty |
An implementation of Worker that exits if all queues are empty maxLoopOnEmptyQueues times.
|
| WorkerImpl |
Basic implementation of the Worker interface.
|
| WorkerImplFactory |
A simple factory for
WorkerImpls. |
| WorkerListenerDelegate |
This class keeps track of WorkerListeners and notifies each listener when fireEvent() is invoked.
|
| WorkerPool |
Creates a fixed number of identical
Workers, each on a
separate Thread. |
| Enum | Description |
|---|---|
| JobExecutor.State | |
| RecoveryStrategy | |
| WorkerEvent |
The possible WorkerEvents that a WorkerListener may register for.
|
| Exception | Description |
|---|---|
| UnpermittedJobException |
Thrown by a Worker when it receives a Job that it is not allowed to run.
|
Copyright © 2011-2013. All Rights Reserved.