Interface RegistrationListener


public interface RegistrationListener
Registration listener used by the cluster manager to keep the clustered event bus updated with the registration changes.
  • Method Details

    • registrationsUpdated

      default void registrationsUpdated(RegistrationUpdateEvent event)
      Invoked by the ClusterManager when messaging handler registrations are added or removed.
    • registrationsLost

      default void registrationsLost()
      Invoked by the ClusterManager when some handler registrations have been lost.
    • wantsUpdatesFor

      default boolean wantsUpdatesFor(String address)
      Invoked by the ClusterManager to determine if the node selector wants updates for the given address.
      Parameters:
      address - the event bus address
      Returns:
      true if the node selector wants updates for the given address, false otherwise