clustered EventBus to select a node for a given message.
This selector is skipped only when the user raises the io. flag.
Consequently, implementations must be aware of local io. registrations.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public default void | init(VertxBuilder
the builder builder)Implements io. Let the provider initialize the Vert.x builder. |
| public void | init(Vertx vertx, ClusterManager clusterManager)
Invoked before the |
| public void | |
| public void | registrationsUpdated(RegistrationUpdateEvent event)
Invoked by the |
| public void | selectForPublish(Message<?> message, Promise<Iterable<String>> promise)
Select a node for publishing the given |
| public void | selectForSend(Message<?> message, Promise<String> promise)
Select a node for sending the given |
| public default boolean | Returns: true if the node selector wants updates for the given address, false otherwisethe event bus address address)Invoked by the |
| eventBusStarted | back to summary |
|---|---|
| public void eventBusStarted() Invoked after the clustered | |
| init | back to summary |
|---|---|
| public default void init(VertxBuilder builder) Implements io. Doc from io. Let the provider initialize the Vert.x builder.
| |
| init | back to summary |
|---|---|
| public void init(Vertx vertx, ClusterManager clusterManager) Invoked before the | |
| registrationsLost | back to summary |
|---|---|
| public void registrationsLost() Invoked by the | |
| registrationsUpdated | back to summary |
|---|---|
| public void registrationsUpdated(RegistrationUpdateEvent event) Invoked by the | |
| selectForPublish | back to summary |
|---|---|
| public void selectForPublish(Message<?> message, Promise<Iterable<String>> promise) Select a node for publishing the given The provided
| |
| selectForSend | back to summary |
|---|---|
| public void selectForSend(Message<?> message, Promise<String> promise) Select a node for sending the given The provided
| |
| wantsUpdatesFor | back to summary |
|---|---|
| public default boolean wantsUpdatesFor(String address) Invoked by the
| |