Skip to content

Updated the documentation of the CacheMap and also some refactoring - #244

Merged
dondonz merged 1 commit into
masterfrom
update-doco-and-reactor-new-code
Nov 5, 2025
Merged

Updated the documentation of the CacheMap and also some refactoring#244
dondonz merged 1 commit into
masterfrom
update-doco-and-reactor-new-code

Conversation

@bbakerman

Copy link
Copy Markdown
Member

Just to explain the CAS atomic load requirement more

@bbakerman bbakerman added this to the 6.0.0 milestone Oct 26, 2025
ctx.onDispatched();
cachedFuture.whenComplete(ctx::onCompleted);
return cachedFuture;
}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code was common in 3 spots

assertThat(cacheMap.containsKey(1), equalTo(false));
assertThat(cacheMap.containsKey(2), equalTo(false));
assertThat(cacheMap.containsKey(3), equalTo(false));
assertThat(cacheMap.containsKey(4), equalTo(false));

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some more tests for coverage reasons

@dondonz
dondonz merged commit 4ade908 into master Nov 5, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants