Interface RegistrationListener
public interface RegistrationListener
Registration listener used by the cluster manager to keep the clustered event bus updated with the registration changes.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidInvoked by theClusterManagerwhen some handler registrations have been lost.default voidInvoked by theClusterManagerwhen messaging handler registrations are added or removed.default booleanwantsUpdatesFor(String address) Invoked by theClusterManagerto determine if the node selector wants updates for the givenaddress.
-
Method Details
-
registrationsUpdated
Invoked by theClusterManagerwhen messaging handler registrations are added or removed. -
registrationsLost
default void registrationsLost()Invoked by theClusterManagerwhen some handler registrations have been lost. -
wantsUpdatesFor
Invoked by theClusterManagerto determine if the node selector wants updates for the givenaddress.- Parameters:
address- the event bus address- Returns:
trueif the node selector wants updates for the givenaddress,falseotherwise
-