taskmaster

Task Master allows a Runnable task to be submitted for execution and returns a Future representing that task.

License

License

GroupId

GroupId

com.github.bordertech.taskmaster
ArtifactId

ArtifactId

taskmaster
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

taskmaster
Task Master allows a Runnable task to be submitted for execution and returns a Future representing that task.
Project URL

Project URL

https://github.com/bordertech/java-taskmaster
Source Code Management

Source Code Management

https://github.com/bordertech/java-taskmaster

Download taskmaster

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.bordertech.taskmaster/taskmaster/ -->
<dependency>
    <groupId>com.github.bordertech.taskmaster</groupId>
    <artifactId>taskmaster</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.bordertech.taskmaster/taskmaster/
implementation 'com.github.bordertech.taskmaster:taskmaster:1.0.1'
// https://jarcasting.com/artifacts/com.github.bordertech.taskmaster/taskmaster/
implementation ("com.github.bordertech.taskmaster:taskmaster:1.0.1")
'com.github.bordertech.taskmaster:taskmaster:jar:1.0.1'
<dependency org="com.github.bordertech.taskmaster" name="taskmaster" rev="1.0.1">
  <artifact name="taskmaster" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.bordertech.taskmaster', module='taskmaster', version='1.0.1')
)
libraryDependencies += "com.github.bordertech.taskmaster" % "taskmaster" % "1.0.1"
[com.github.bordertech.taskmaster/taskmaster "1.0.1"]

Dependencies

compile (3)

Group / Artifact Type Version
com.github.bordertech.didums : didums-core jar 1.0.0
org.slf4j : slf4j-api jar 1.7.25
javax.cache : cache-api jar 1.0.0

provided (2)

Group / Artifact Type Version
javax.inject : javax.inject jar 1
javax.servlet : servlet-api jar 2.5

Project Modules

There are no modules declared in this project.

Task Master

Task Master helps run ASYNC tasks.

Status

Build Status Quality Gate Status Reliability Rating Coverage Codacy Badge 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.

Cache Helper (JSR107)

The CacheHelper allows projects to provide a specific mechanism for creating their cache requirements.

ServiceHelper

The ServiceHelper class helps applications submit ASYNC service calls.

com.github.bordertech.taskmaster
Open source projects from the Border

Versions

Version
1.0.1
1.0.0