Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(spring): implement optional cache methods #207

Merged
merged 6 commits into from Nov 24, 2023

Conversation

iProdigy
Copy link
Member

  • Implement new CompletableFuture versions of lookup that were added to the Cache interface in spring context v6.1,
  • Explicitly implement evictIfPresent so the return value contains more information (previously would always return false)
  • Explicitly implement putIfAbsent so the operation is atomic (default impl is non-atomic)

@iProdigy iProdigy force-pushed the feature/spring-cache-optional-methods branch from 234c24c to 1f12f36 Compare November 23, 2023 19:39
@iProdigy iProdigy marked this pull request as draft November 23, 2023 19:48
@iProdigy iProdigy marked this pull request as ready for review November 23, 2023 19:57
@iProdigy iProdigy force-pushed the feature/spring-cache-optional-methods branch from bb027ca to 36fd16e Compare November 23, 2023 19:59
Copy link

sonarcloud bot commented Nov 24, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
35.1% 35.1% Duplication

@iProdigy iProdigy merged commit 0409b2c into main Nov 24, 2023
4 checks passed
@iProdigy iProdigy deleted the feature/spring-cache-optional-methods branch November 24, 2023 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants