cache2k tests for OSGi


License

License

Categories

Categories

cache2k Data Caching
GroupId

GroupId

org.cache2k
ArtifactId

ArtifactId

test-osgi
Last Version

Last Version

1.1.1.Alpha
Release Date

Release Date

Type

Type

jar
Description

Description

cache2k tests for OSGi
Project URL

Project URL

https://cache2k.org/test-osgi
Project Organization

Project Organization

headissue GmbH, Munich

Download test-osgi

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
org.cache2k : cache2k-api jar 1.1.1.Alpha
org.slf4j : slf4j-simple jar 1.5.11

runtime (1)

Group / Artifact Type Version
org.cache2k : cache2k-osgi-all jar 1.1.1.Alpha

test (6)

Group / Artifact Type Version
org.cache2k : cache2k-testing jar 1.1.1.Alpha
org.ops4j.pax.exam : pax-exam-container-native jar 4.8.0
org.ops4j.pax.exam : pax-exam-junit4 jar 4.8.0
org.ops4j.pax.exam : pax-exam-link-mvn jar 4.8.0
org.ops4j.pax.url : pax-url-aether jar 1.6.0
org.apache.felix : org.apache.felix.framework jar 5.4.0

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.1.1.Alpha
1.0.2.Final
1.0.1.Final