Package io.vertx.core.spi.cluster

## 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

    All Methods Instance Methods Default Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `default void` | `registrationsLost()` | Invoked by the `ClusterManager` when some handler registrations have been lost.
    `default void` | `registrationsUpdated​(RegistrationUpdateEvent event)` | Invoked by the `ClusterManager` when messaging handler registrations are added or removed.
    `default boolean` | `wantsUpdatesFor​(String address)` | Invoked by the `ClusterManager` to determine if the node selector wants updates for the given `address`.

- - ### Method Detail

    - #### 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