Skip to content

How can I crate a cache without any eviction policies #874

Answered by ben-manes
alizhan1 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, that should be fine. If you don’t specify a policy then we use a light adapter from our interfaces to ConcurrentHashMap. Spring similarly offers ConcurrentMapCache if you prefer.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
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