new DiscoveryBridge()
Discovery bridge allows integrate other discovery technologies with the Vert.x service discovery. It maps entries
Methods
start(vertx, discovery, configuration, future)
Starts the bridge.
Parameters:
Name | Type | Description |
---|---|---|
vertx |
Vertx | the vertx instance |
discovery |
ServiceDiscovery | the service discovery instance |
configuration |
Object | the bridge configuration if any |
future |
Future | a future on which the bridge must report the completion of the starting process |
stop(vertx, discovery, future)
Stops the bridge.
Parameters:
Name | Type | Description |
---|---|---|
vertx |
Vertx | the vertx instance |
discovery |
ServiceDiscovery | the service discovery instance |
future |
Future | the future on which the bridge must report the completion of the stopping process |