Comments (4)
@kwhitejr Spring Boot 3.x is currently not supported. Happy to accept PRs though.
from collection-cacheable-for-spring.
Hi @Richie94
I've merged the Spring Boot 2.7.5 only in 1.3.1-SNAPSHOT so far, and at least the integration tests there ran fine in the Github Action. Are the examples from the README working for you? Can you come up with a minimal reproducer for the problem you're experiencing? Either as a standalone project or (preferred) as a failing test case (you may add one there via pull request)?
Regarding findAll
: The README says that the return value, being a Map
, puts all the returned entries into the cache using the key of the map as the cache key. This essentially fills the whole cache and subsequent findById
calls are then already cached. Another call to findAll
will just update the cache then (cache invalidation is out of scope here, and is usually achieved by TTLs).
from collection-cacheable-for-spring.
Okay, thanks, than its not exactly what we are looking for. We aim for a mechanism on how to cache findAll so that we can have the cached result on the second call, but also using CachePut and CacheEvict only for some specific ids, which then should ideally be replaced/evicted also in the findAll Cacheable...
from collection-cacheable-for-spring.
I think I have a similar issue. After upgrading a Spring Boot app to spring-boot:3.0.2
, the @CollectionCacheable
annotation is seemingly ignored by the running application. Still fact-finding, but was wondering if you have plans to support.
from collection-cacheable-for-spring.
Related Issues (11)
- Migrate from Bintray to OSSRH
- debug logs HOT 3
- CollectionCacheable returning a list of entities HOT 9
- Memory leakage in integration tests HOT 2
- findAll() include spring pageable HOT 1
- Specify parameter cache key HOT 2
- Suggest for getting cache value from redis HOT 1
- Bug when id params have same id, returnValue will occur same result if cache expired in loop HOT 1
- I think you can provide Hash-based Cache storage HOT 3
- Did not find zero or one Collection argument. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from collection-cacheable-for-spring.