ppb
ppb

Reputation: 2633

Caffeine Cache implementation manually

Hi I am planning to use Guava Cache or Caffeine Cache in my application as below way -

On application start DB call initiated and store the result into cache. I don't want to use expiration or recycling feature of above cache means data should present in cache all the time until application restart.

How can I implement any of this cache in my Java Spring Boot Application. I do not want to use Spring's Caching functionality.

I want to update or add the values in cache on certain condition.

Upvotes: 1

Views: 930

Answers (0)

Related Questions