Interface ServiceResolverClient
- All Superinterfaces:
EndpointResolver
Address lookup implementing service discovery and load balancing.
-
Method Summary
Modifier and TypeMethodDescriptionclose()Close the client and release the resources.static ServiceResolverClientcreate(Vertx vertx, LoadBalancer loadBalancer, ServiceResolverOptions options) Create a new service resolver client.static ServiceResolverClientcreate(Vertx vertx, ServiceResolverOptions options) Create a new service resolver client.resolveEndpoint(ServiceAddress address) Methods inherited from interface EndpointResolver
resolveEndpoint
-
Method Details
-
create
Create a new service resolver client.- Parameters:
vertx- the vertx instanceoptions- the resolver options- Returns:
- the service resolver client
-
create
static ServiceResolverClient create(Vertx vertx, LoadBalancer loadBalancer, ServiceResolverOptions options) Create a new service resolver client.- Parameters:
vertx- the vertx instanceloadBalancer- the load balanceroptions- the resolver options- Returns:
- the service resolver client
-
resolveEndpoint
-
close
-