Classes
Methods
(static) ServiceDiscovery.create(vertx, options) → {ServiceDiscovery}
Creates an instance of ServiceDiscovery.
Parameters:
Name | Type | Description |
---|---|---|
vertx |
Vertx | the vert.x instance |
options |
Object | the discovery options |
Returns:
the created service discovery instance.
- Type
- ServiceDiscovery
(static) ServiceDiscovery.releaseServiceObject(discovery, svcObject)
Release the service object retrieved using
get
methods from the service type interface.
It searches for the reference associated with the given object and release it.
Parameters:
Name | Type | Description |
---|---|---|
discovery |
ServiceDiscovery | the service discovery |
svcObject |
Object | the service object |