-
Notifications
You must be signed in to change notification settings - Fork 135
IGNITE-14382 Rework network module API structure #84
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
8728335 to
f25821a
Compare
modules/network/src/main/java/org/apache/ignite/network/Network.java
Outdated
Show resolved
Hide resolved
sergey-chugunov-1985
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a minor comment with naming suggestion.
77ddca5 to
ad4e183
Compare
...les/network/src/main/java/org/apache/ignite/network/scalecube/ScaleCubeMessagingService.java
Outdated
Show resolved
Hide resolved
...les/network/src/main/java/org/apache/ignite/network/scalecube/ScaleCubeMessagingService.java
Outdated
Show resolved
Hide resolved
...les/network/src/main/java/org/apache/ignite/network/scalecube/ScaleCubeMessagingService.java
Outdated
Show resolved
Hide resolved
...les/network/src/main/java/org/apache/ignite/network/scalecube/ScaleCubeMessagingService.java
Outdated
Show resolved
Hide resolved
| /** {@inheritDoc} */ | ||
| @Override public void addMessageHandler(NetworkMessageHandler handler) { | ||
| messageHandlers.add(handler); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need a way to unregister message handlers for dynamically started components.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you elaborate on the use cases please, because I may be out of context for this suggestion?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some components (like a cache) can start/stop dynamically and should have possibility to deregister related listeners on stop.
I'm ok to implement this as a separate ticket.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.