cache2k testing

Defines different categories (SlowTests, FastTests, ...) we can specify for unit testing. Added as test dependency, otherwise we cannot specify the category in aggregator builds / on top level. This serves also as a test scope BOM for transitive dependencies to JUnit and hamcrest.

Лицензия

Лицензия

Категории

Категории

cache2k Данные Caching
Группа

Группа

org.cache2k
Идентификатор

Идентификатор

cache2k-testing
Последняя версия

Последняя версия

1.1.1.Alpha
Дата

Дата

Тип

Тип

jar
Описание

Описание

cache2k testing
Defines different categories (SlowTests, FastTests, ...) we can specify for unit testing. Added as test dependency, otherwise we cannot specify the category in aggregator builds / on top level. This serves also as a test scope BOM for transitive dependencies to JUnit and hamcrest.
Ссылка на сайт

Ссылка на сайт

https://cache2k.org/cache2k-testing
Организация-разработчик

Организация-разработчик

headissue GmbH, Munich

Скачать cache2k-testing

Как подключить последнюю версию

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

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11

Модули Проекта

Данный проект не имеет модулей.

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

Версии библиотеки

Версия
1.1.1.Alpha
1.0.2.Final
1.0.1.Final