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
ExpiringMap<String, String> build = ExpiringMap.builder() .expiration(10, TimeUnit.SECONDS) .maxSize(10) .expirationPolicy(ExpirationPolicy.ACCESSED) .build(); build.put("foo", "bar"); build.get("foo");
hi, @jhalterman, when "foo" is accessed before it expires, will the TTL of "foo" be refreshed?
The text was updated successfully, but these errors were encountered:
Is it possible to set the eviction policy for TTL and the eviction policy for maximum capacity separately?
like this:
// TTL .expirationAfterAccess() .expirationAfterWrite() // maxSize .maxSize() .expirationPolicy(ExpirationPolicy.ACCESSED)
Sorry, something went wrong.
@jhalterman Could you help me look into this issue?
No branches or pull requests
hi, @jhalterman, when "foo" is accessed before it expires, will the TTL of "foo" be refreshed?
The text was updated successfully, but these errors were encountered: