Code Monkey home page Code Monkey logo

Comments (4)

neiser avatar neiser commented on June 26, 2024 1

@kwhitejr Spring Boot 3.x is currently not supported. Happy to accept PRs though.

from collection-cacheable-for-spring.

neiser avatar neiser commented on June 26, 2024

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.

Richie94 avatar Richie94 commented on June 26, 2024

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.

kwhitejr avatar kwhitejr commented on June 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.