tr8n-cache-ehcache

EHCache adapter for Tr8n SDKs

License

License

Categories

Categories

Ehcache Data Caching
GroupId

GroupId

com.tr8nhub
ArtifactId

ArtifactId

cache-ehcache
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

tr8n-cache-ehcache
EHCache adapter for Tr8n SDKs
Project URL

Project URL

https://github.com/tr8n/tr8n_java_cache_ehcache
Project Organization

Project Organization

Tr8nHub
Source Code Management

Source Code Management

https://github.com/tr8n/tr8n_java_cache_ehcache

Download cache-ehcache

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
com.tr8nhub : core jar 0.1.0
net.sf.ehcache : ehcache jar 2.8.1

test (1)

Group / Artifact Type Version
junit : junit jar 4.10

Project Modules

There are no modules declared in this project.

TML EHCache Adapter

This cache adapter allows you to cache Tr8n data in EHCache.

Installation

Add the following dependency to your pom.xml:

<dependency>
  <groupId>com.translationexchange</groupId>
  <artifactId>tml-ehcache</artifactId>
  <version>0.2.2</version>
</dependency>

Configuration

To initialize and use this cache adapter use the following settings:

Tml.getConfig().setCache(Utils.buildMap(
  "enabled", true,
  "class",  "com.translationexchange.cache.EHCache"
));

Links

Copyright and license

Copyright (c) 2015 Translation Exchange, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Versions

Version
0.1.0