cache2k server side

A light weight and high performance Java caching library. Useful things for server deployment. JMX support. This artifact is included in cache2k-all.

License

License

Categories

Categories

IDE Development Tools cache2k Data Caching
GroupId

GroupId

org.cache2k
ArtifactId

ArtifactId

cache2k-server-side
Last Version

Last Version

1.0.2.Final
Release Date

Release Date

Type

Type

jar
Description

Description

cache2k server side
A light weight and high performance Java caching library. Useful things for server deployment. JMX support. This artifact is included in cache2k-all.
Project URL

Project URL

https://cache2k.org/cache2k-server-side
Project Organization

Project Organization

headissue GmbH, Munich

Download cache2k-server-side

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
org.cache2k : cache2k-core jar 1.0.2.Final
org.cache2k : cache2k-jmx-api jar 1.0.2.Final
org.cache2k : cache2k-api jar 1.0.2.Final

test (2)

Group / Artifact Type Version
org.cache2k : cache2k-testing jar 1.0.2.Final
org.slf4j : slf4j-simple jar 1.7.21

Project Modules

There are no modules declared in this project.

License Stack Overflow Maven Central

cache2k Java Caching

cache2k is an in-memory high performance Java Caching library.

  Cache<String,String> cache = new Cache2kBuilder<String, String>() {}
    .expireAfterWrite(5, TimeUnit.MINUTES)    // expire/refresh after 5 minutes
    .resilienceDuration(30, TimeUnit.SECONDS) // cope with at most 30 seconds
                                              // outage before propagating 
                                              // exceptions
    .refreshAhead(true)                       // keep fresh when expiring
    .loader(this::expensiveOperation)         // auto populating function
    .build();

For a detailed introduction continue with Getting Started.

Features at a glance

Integrations

  • Spring Framework
  • Scala Cache
  • Datanucleus (via JCache)
  • Hibernate (via JCache)
  • .... and probably more, please raise an issue and get it listed!

More...

For more documentation and latest news, see the cache2k homepage.

org.cache2k
High Performance Java Caching

Versions

Version
1.0.2.Final
1.0.1.Final
1.0.0.Final
1.0.0.CR4
1.0.0.CR3
1.0.0.CR2
1.0.0.CR1