Skip elements to be cached by Guava Cache if maximumSize reached

56 views Asked by At

Is there a way to not cache elements using Guava Cache if maximumSize reached? I'm looking for behaviour similar to "No ejection" option in couchbase:

If No ejection is selected, no ejection of existing data occurs, and attempts to cache new data fail.

I want cache to be cleared using "expireAfterAccess" option only.

0

There are 0 answers