Skip to content

RemovalCause #843

Answered by ben-manes
joanbalaguero asked this question in Q&A
Dec 20, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Have you looked into whether refreshing would be a fit instead? This asynchronously reloads the entry, either by an explicit call (LoadingCache#refresh) or if accessed after a duration (refreshAfterWrite). The examples dir has a contribution showing how to coalesce multiple reloads into a batch call for efficiency.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@joanbalaguero
Comment options

@ben-manes
Comment options

Answer selected by ben-manes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants