taskmaster-cache-helper

Task Master provides a Cache Helper API.

License

License

GroupId

GroupId

com.github.bordertech.taskmaster
ArtifactId

ArtifactId

taskmaster-cache-helper
Last Version

Last Version

2.0.0-beta-1
Release Date

Release Date

Type

Type

jar
Description

Description

taskmaster-cache-helper
Task Master provides a Cache Helper API.

Download taskmaster-cache-helper

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.26
javax.cache : cache-api jar 1.1.1
com.github.bordertech.didums : didums-core jar 1.0.4

provided (1)

Group / Artifact Type Version
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
2.0.0-beta-1
1.0.5
1.0.4
1.0.3
1.0.2