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

Javadoc for Cache.invalidate could be more clear #284

Closed
spand opened this issue Nov 21, 2018 · 0 comments
Closed

Javadoc for Cache.invalidate could be more clear #284

spand opened this issue Nov 21, 2018 · 0 comments

Comments

@spand
Copy link

spand commented Nov 21, 2018

Currently the javadoc states: The behavior of this operation is undefined for an entry that is being loaded and is otherwise not present.

I had coupled the not present part with the loading part and concluded that it was in fact specified for reloads since those entries are present. #193 mentions that this is not the case and we encountered it also.

Suggestion for a clearer javadoc: The behavior of this operation is undefined for an entry that is being loaded (including both loads and reloads) or is not present. assuming this is correct.

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

1 participant