Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 2.04 KB

README.md

File metadata and controls

24 lines (19 loc) · 2.04 KB

Task Master

Task Master helps run ASYNC tasks.

Status

Build Status Quality Gate Status Reliability Rating Coverage Javadocs Maven Central

What is TaskMaster

Task Master allows a Runnable task to be submitted for execution and returns a Future representing that task. The Future's get method will return the given result upon successful completion.

As Web applications require a Future implementation that can be serializable, the Task Master has a custom interface of TaskFuture that implements both Future and Serializable. It does not make sense for a Future to be serilaizable as it is running on a specific thread on a particular server. To allow a Web Application to keep a reference to the Future, the default implementation of TaskFuture (ie TaskFutureWrapper) wraps the future by putting the Future on a cache and holding onto the cache key that is serializable.

ServiceHelper

The ServiceHelper class helps applications submit ASYNC service calls.