-
Notifications
You must be signed in to change notification settings - Fork 51
[2.4] Add Duration-based setKeepAliveTime API to 2.4.x for Infinispan 15.0.… #275
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
Conversation
|
Would it be OK to release this as a 2.5.0? |
|
@dmlloyd A 2.5.0 release is fine. |
|
Can I require Java 17 as a baseline? Or should it work with 11? |
|
Rebased on to 2.x. Beware because the branch is still called 2.4! |
|
OK this will need a rebase then. |
Yes. This is for EAP 8.1.1 which is JDK 17 baselined. |
…x compatibility This commit adds java.time.Duration overloads for setKeepAliveTime methods to resolve API incompatibility between jboss-threads 2.4.x and Infinispan 15.0.19+. Infinispan 15.0.19 (from RHDG 8.5.5) calls: builder.setKeepAliveTime(Duration.of(keepAlive, ChronoUnit.MILLIS)) But jboss-threads 2.4.0 only provides: setKeepAliveTime(long, TimeUnnit) resulting in NoSuchMethodError Signed-off-by: Radoslav Husar <radosoft@gmail.com>
|
The linux test doesn't fail for me locally on Linux (or anything else) so I'll just go ahead with this for now. |
|
Looks like those tests are flaky, especially on GHA... |
|
Thanks for the merge! |
…x compatibility
This commit adds java.time.Duration overloads for setKeepAliveTime methods to resolve API incompatibility between jboss-threads 2.4.x and Infinispan 15.0.19+.
Infinispan 15.0.19 (from RHDG 8.5.5) calls:
builder.setKeepAliveTime(Duration.of(keepAlive, ChronoUnit.MILLIS))
But jboss-threads 2.4.0 only provides:
setKeepAliveTime(long, TimeUnnit)
resulting in NoSuchMethodError