We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How to define a Size based eviction policy?
I would expect something like:
new MutableConfiguration<>().setExpiryPolicyFactory(SizedExpiryPolicy.factoryOf( 12345 ))
or even better add the maxElements attribute, in this way it would be possible to cover the typical size and time cache policy
new MutableConfiguration<>() .setMaxElements( 12345 ) .setExpiryPolicyFactory(CreatedExpiryPolicy.factoryOf( new Duration(TimeUnit.DAYS,1) ))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How to define a Size based eviction policy?
I would expect something like:
or even better add the maxElements attribute, in this way it would be possible
to cover the typical size and time cache policy
The text was updated successfully, but these errors were encountered: