-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Spring support for Runnable tasks #244
Milestone
Comments
pull request #243 contains now a fix for this issue too. I'd like to mention, that DistributedRunnableAdapter is now a mutable interface!
This considerations are the reasons for my implementation. Are you with me? |
I'm ok with your implementation. Thanks for the patch. |
SeriyBg
pushed a commit
to SeriyBg/hazelcast
that referenced
this issue
Jul 9, 2021
Bumps [mockito-core](https://github.com/mockito/mockito) from 2.28.2 to 3.5.0. - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](mockito/mockito@v2.28.2...v3.5.0) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
SeriyBg
pushed a commit
to SeriyBg/hazelcast
that referenced
this issue
Jul 9, 2021
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.5 to 2.1.6. - [Release notes](https://github.com/actions/cache/releases) - [Commits](actions/cache@v2.1.5...v2.1.6) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
devOpsHazelcast
pushed a commit
that referenced
this issue
Dec 20, 2023
The problem was that with the NioAsyncSocket onFinishConnect, the OP_CONNECT was not removed from the interest-set since we just added the OP_READ to the interest-set. This has been changed: we only care for OP_READ and need to remove anything else. This unwanted remaining registration of the OP_CONNECT leads to an OP_CONNECT ready event when the socket closes. And this is when it will run into an NPE because connectFuture is null (since that field is nulled after the connect). The NPE only leads to noise in the log when closing a socket. Has no other consequences. Fixes https://github.com/hazelcast/hazelcast-mono/issues/243 GitOrigin-RevId: 759e67be38b2fbc13d8827289588ca87abcdc9d7
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be nice if we had Spring support in Runnable tasks. Currently this @SpringAware is not recognized by SpringManagedContext because the Runnable is wrapped into a DistributedRunnableAdapter.
The text was updated successfully, but these errors were encountered: