Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

feat(spring): implement optional cache methods#207

Merged
iProdigy merged 6 commits intomainXanthic/cache-api:mainfrom
feature/spring-cache-optional-methodsXanthic/cache-api:feature/spring-cache-optional-methodsCopy head branch name to clipboard
Nov 24, 2023
Merged

feat(spring): implement optional cache methods#207
iProdigy merged 6 commits intomainXanthic/cache-api:mainfrom
feature/spring-cache-optional-methodsXanthic/cache-api:feature/spring-cache-optional-methodsCopy head branch name to clipboard

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
@sonarqubecloud
Copy link

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
@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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.