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
In putInternal src,when entry != null,ExpirationPolicy and expirationNanos is ignored Why?
The text was updated successfully, but these errors were encountered:
It than forces us to use code like this:
cache.put(bet.getId(), bet); cache.setExpiration( bet.getId(), betExpirationDuration, TimeUnit.MILLISECONDS);
instead of this one:
cache.put(bet.getId(), bet, betExpirationDuration, TimeUnit.MILLISECONDS);
Parameter expirationNanos is not used in else branch here: https://github.com/jhalterman/expiringmap/blob/master/src/main/java/net/jodah/expiringmap/ExpiringMap.java#L1261
Imho it is a bug or at least undocumented "feature".
Sorry, something went wrong.
Do you have a unit test that demonstrates the problem?
No branches or pull requests
In putInternal src,when entry != null,ExpirationPolicy and expirationNanos is ignored
Why?
The text was updated successfully, but these errors were encountered: