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
I was thinking, how can i execute a function each time the expiration Time decrease like
ExpiringMap<K, V> Timer = ExpiringMap.builder() .expiration(10, TimeUnit.SECONDS) .onTimeUpdate( setTime() ) .build();
Where setTime() is called each second until the value expire.
setTime()
function called depending on TimeUnit value called each milisecond if the expiration time is writed in milisecond
TimeUnit
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I was thinking, how can i execute a function each time the expiration Time decrease like
Where
setTime()
is called each second until the value expire.The text was updated successfully, but these errors were encountered: