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

The supplier injected to CacheMono is always called #226

Closed
cjr333 opened this issue Feb 26, 2020 · 0 comments
Closed

The supplier injected to CacheMono is always called #226

cjr333 opened this issue Feb 26, 2020 · 0 comments
Assignees
Milestone

Comments

@cjr333
Copy link

cjr333 commented Feb 26, 2020

The supplier injected to CacheMono is always called. On the other hand, CacheFlux works fine.
In lookup method of CacheMono, the supplier is composed using switchIfEmtpy assembly method, which make the supplier called.
I suggest not using Mono assembly method and coding like CacheFlux (imperative coding for cache entry is null)

@simonbasle simonbasle self-assigned this Mar 5, 2020
@simonbasle simonbasle added this to the 3.2.4.RELEASE milestone Mar 5, 2020
simonbasle added a commit that referenced this issue Mar 16, 2020
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

No branches or pull requests

2 participants