Interface ServiceResolverClient

  • All Superinterfaces:
    EndpointResolver

    public interface ServiceResolverClient
    extends EndpointResolver
    Address lookup implementing service discovery and load balancing.
    • Method Detail

      • create

        static ServiceResolverClient create​(Vertx vertx,
                                            ServiceResolverOptions options)
        Create a new service resolver client.
        Parameters:
        vertx - the vertx instance
        options - 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 instance
        loadBalancer - the load balancer
        options - the resolver options
        Returns:
        the service resolver client
      • close

        Future<Void> close()
        Close the client and release the resources.
        Returns:
        a future notified when the resources are disposed