Although much better than the previous alternatives, now that Java 8 is out and usable it seems decent bit of the Worker API (mainly the WorkerRunnable class) is redundant with standard Future APIs.
Some work could probably be done to use the standard APIs instead, and reduce the amount of code in the Worker component.
Although much better than the previous alternatives, now that Java 8 is out and usable it seems decent bit of the Worker API (mainly the
WorkerRunnableclass) is redundant with standardFutureAPIs.Some work could probably be done to use the standard APIs instead, and reduce the amount of code in the
Workercomponent.