Skip to content
New issue

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

Overload put to accept a Duration #52

Open
mishaxz opened this issue Oct 25, 2017 · 1 comment
Open

Overload put to accept a Duration #52

mishaxz opened this issue Oct 25, 2017 · 1 comment

Comments

@mishaxz
Copy link

mishaxz commented Oct 25, 2017

Would be nice to be able to specify an expiry time using a Duration object

@losingsleeep
Copy link

Seems that Duration class has been added since Java SE 8: Official Doc
I think the project cannot depend on Java 8 because it obviously states the support of Java 6+ in the repository's README:
"Supports Java 6+ though the documentation uses lambdas for simplicity."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants