-
Notifications
You must be signed in to change notification settings - Fork 798
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
Bump up caffeine dependencies #549
Bump up caffeine dependencies #549
Conversation
3fed3ff
to
49ba50d
Compare
hey @checketts wondering if you can give it a quick look to this little guy, thanks! |
We purposefully list old versions so that we don't inadvertently break backwards compatibility. |
hey @brian-brazil thanks for your quick reply. Is there any other way we can add support for this new This upgrade should not break previous implementations since now both classes share a common interface, hope that helps :) P.S. I ran the tests and they passed, please let me know if there is any other validation I could do. |
So if someone was running 2.3.0, then this wouldn't break them? |
hey @brian-brazil attached my answers.
Thats is correct, given the following interface:
Caffeine now offers some other methods that allow you to have an instance of Let me know what you think :) |
I'm not convinced, there is no AsyncCache in 2.3.0. |
correct, so folks that remain on version 0.8.1 won't have problems Now let's say we merge this PR and folks migrate to version 0.8.2, these folks won't have to change their working code since so folks can do any of this without breaking the existing API:
the test cases are already proving that exiting code will continue to work. Would it be helpful if I add some examples on the REAMDE file explaining how to migrate to the new version and take advantage of java inheritance? If you feel more comfortable we can also do this:
I feel is a little bit redundant given what I just explained, please let me know what you think :) |
But folks who upgrade to the next version of client_java would. I don't like forcing users to upgrade to new versions of dependencies unless there's a non-trivial gain in terms of the metrics available. Especially when the new version hasn't even been out two weeks yet. |
I see. I think the java client will get some benefits on the metric side since it will now support the two types of caches that caffeine offers.
That is fair, I should have been more careful with my suggestion. What about if we bump up to the version where the interface This artifact was released to maven central (Feb 24, 2019) @brian-brazil Let me know what you think about this more cautious approach :) |
That sounds more reasonable. |
49ba50d
to
7bd13ea
Compare
@brian-brazil Done :) Let me know what you think |
Signed-off-by: Mariano Gonzalez <[email protected]>
7bd13ea
to
67dac33
Compare
Thanks! |
The purpose of this PR is to add support for the
AsyncCache
and not only theAsyncLoadingCache