Caffeine
Keep recently used Java values in a configurable memory cache.
ben-manes · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
Add com.github.ben-manes.caffeine:caffeine:3.3.1 to a small Java project. Load a fictional seed count on the first request and check it is reused.
What we tested
3.3.1. Load a fictional seed count on the first request and check it is reused. Loaded the sample count once and recovered it from cache on the second request.