[TRACKING ISSUE] Refactoring client deregister listener behaviour [API-2081] #398
Labels
Jira
Creates a corresp. Jira issue in the APIs project.
Source: Tracking
Originated from the Tracking bot.
The tracking issue for the Java side PR.
Refactoring client deregister listener behaviour
See hazelcast/hazelcast#17646 for details.
We were returning
false
as the return value if we were notsuccessuflly deregister from any member and events was able to
continue to delivered for non deregistered members.
We have changed the behaviour so that we return
true
if aregistration is found always. And after this point, user will not
get any event. We will cleanup all the local handlers right away
to make sure of that.
Secondly we have set invocation timeout as infinite so that the
deregistartion from a connection is retried as long as the
connection is there until it is succesful.
I have left logging the exception when there is an unexpected
failure. We do not expect any but this is to be able to diagnose
if the unexpected happens.
The text was updated successfully, but these errors were encountered: