taskmaster-cache-ehcache

Task Master provides a ehcache helper.

License

License

Categories

Categories

Ehcache Data Caching
GroupId

GroupId

com.github.bordertech.taskmaster
ArtifactId

ArtifactId

taskmaster-cache-ehcache
Last Version

Last Version

2.0.0-beta-1
Release Date

Release Date

Type

Type

jar
Description

Description

taskmaster-cache-ehcache
Task Master provides a ehcache helper.

Download taskmaster-cache-ehcache

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
com.github.bordertech.taskmaster : taskmaster-cache-helper jar 2.0.0-beta-1
org.apache.commons : commons-lang3 jar 3.9

provided (2)

Group / Artifact Type Version
javax.inject : javax.inject jar 1
org.ehcache : ehcache jar 3.8.0

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