tml-ehcache

EHCache adapter for TML

License

License

Categories

Categories

Ehcache Data Caching
GroupId

GroupId

com.translationexchange
ArtifactId

ArtifactId

tml-ehcache
Last Version

Last Version

0.2.2
Release Date

Release Date

Type

Type

jar
Description

Description

tml-ehcache
EHCache adapter for TML
Project URL

Project URL

https://github.com/translationexchange/tml-java-cache-ehcache
Project Organization

Project Organization

Translation Exchange, Inc
Source Code Management

Source Code Management

https://github.com/translationexchange/tml-java-cache-ehcache

Download tml-ehcache

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
com.translationexchange : tml jar 0.2.10
net.sf.ehcache : ehcache jar 2.8.1

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.

com.translationexchange

Translation Exchange, Inc.

Translation Management Platform

Versions

Version
0.2.2
0.2.1