Digipost Caching

Caching functionality.

Лицензия

Лицензия

Группа

Группа

no.digipost
Идентификатор

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

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

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

1.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

Digipost Caching
Caching functionality.
Организация-разработчик

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

Digipost Open Source
Система контроля версий

Система контроля версий

https://github.com/digipost/digipost-cache/

Скачать cache

Имя Файла Размер
cache-1.3.pom
cache-1.3.jar 49 KB
cache-1.3-sources.jar 26 KB
cache-1.3-javadoc.jar 194 KB
Обзор

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

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

Зависимости

compile (5)

Идентификатор библиотеки Тип Версия
com.google.guava : guava jar 18.0
joda-time : joda-time jar 2.7
com.github.runeflobakk : motif jar 0.7
org.slf4j : slf4j-api jar 1.7.12
org.mockito : mockito-core jar 1.10.19

test (3)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12
org.hamcrest : hamcrest-library jar 1.3
org.slf4j : slf4j-simple jar 1.7.12

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

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

Digipost Cache

Digipost Cache in Maven Central Repository Build Status License

Library containing caching functionality used by Digipost projects.

Feature overview

In-memory cache

The entry point for creating in-memory caches can be found in the no.digipost.cache2.inmemory package, which wraps the Caffeine cache implementation. In addition to standard key-value cache, this library also offers a specialized API for caching a shared single object (SingleCached<V>).

Fallback

Digipost Cache also supports a fallback-concept, currently implemented as storing cache values on the file system. In the event of a cache value Loader failing (e.g. if it resolves the value over the network or other error-prone I/O), the last value it successfully loaded will instead be read from a disk-file. Other ways to store and read values for fallback can be implemented by implementing FallbackKeeper for storing a value for fallback, and the already mentioned Loader for loading an already stored fallback value.

no.digipost

Digipost

Digipost er Norges digitale postsystem utviklet av Posten Norge AS.

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

Версия
1.3
1.2.1
1.2
1.1
1.0