Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jdbi/jdbi3-guava-cache
https://github.com/jdbi/jdbi3-guava-cache
cache java java8 jdbi
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/jdbi/jdbi3-guava-cache
- Owner: jdbi
- License: apache-2.0
- Created: 2023-01-22T04:41:47.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-18T23:36:16.000Z (10 months ago)
- Last Synced: 2024-04-16T11:15:06.418Z (8 months ago)
- Topics: cache, java, java8, jdbi
- Language: Makefile
- Size: 236 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![CI Build with tests](https://github.com/jdbi/jdbi3-guava-cache/actions/workflows/ci.yml/badge.svg)](https://github.com/jdbi/jdbi3-guava-cache/actions/workflows/ci.yml)
[![CD from main branch pushes](https://github.com/jdbi/jdbi3-guava-cache/actions/workflows/cd.yml/badge.svg)](https://github.com/jdbi/jdbi3-guava-cache/actions/workflows/cd.yml)# Jdbi 3 Cache implementation using the Guava cache
This is an implementation of the [Jdbi Cache API](https://jdbi.org/apidocs/org/jdbi/v3/core/cache/package-summary.html) using the [Google Guava Cache API](https://github.com/google/guava/wiki/CachesExplained).
It is *experimental* and outside the main Jdbi repository because the Guava Cache has a number of known problems and [The guava team does not recommend using it for new implementations](https://guava.dev/releases/31.1-jre/api/docs/com/google/common/cache/CacheBuilder.html).
If you are using Guava caches in your project and want to avoid the caffeine dependency, give this project a try. Otherwise use the built-in LRU cache or use the caffeine cache plugin.
This package is set apart from the [main JDBI](https://github.com/jdbi/jdbi) because it is *experimental* and unsupported.
## Releasing
This package is intended to be released whenever a [main JDBI](https://github.com/jdbi/jdbi) release is done.
- Submit a PR that changes the parent version and the `dep.jdbi3.version` property to the just released main version
- Once the PR passes all tests, merge it
- Run the release steps as described [in the JDBI release document](https://github.com/jdbi/jdbi/blob/master/RELEASE_STEPS.md).