Uses of Interface
io.vertx.core.net.endpoint.LoadBalancer
-
-
Uses of LoadBalancer in io.vertx.core.http
Methods in io.vertx.core.http with parameters of type LoadBalancer Modifier and Type Method Description HttpClientBuilderHttpClientBuilder. withLoadBalancer(LoadBalancer loadBalancer)Configure the client to use a load balancer. -
Uses of LoadBalancer in io.vertx.core.net.endpoint
Fields in io.vertx.core.net.endpoint declared as LoadBalancer Modifier and Type Field Description static LoadBalancerLoadBalancer. CONSISTENT_HASHINGConsistent hashing load balancer with 4 virtual servers, falling back to a random load balancer.static LoadBalancerLoadBalancer. LEAST_REQUESTSLeast requests load balancer.static LoadBalancerLoadBalancer. POWER_OF_TWO_CHOICESPower of two choices load balancer.static LoadBalancerLoadBalancer. RANDOMRandom load balancer.static LoadBalancerLoadBalancer. ROUND_ROBINSimple round-robin load balancer.Methods in io.vertx.core.net.endpoint that return LoadBalancer Modifier and Type Method Description static LoadBalancerLoadBalancer. consistentHashing(int numberOfVirtualServers, LoadBalancer fallback)Sticky load balancer that uses consistent hashing based on a client provided routing key, defaulting to thefallbackload balancer when no routing key is provided.Methods in io.vertx.core.net.endpoint with parameters of type LoadBalancer Modifier and Type Method Description static LoadBalancerLoadBalancer. consistentHashing(int numberOfVirtualServers, LoadBalancer fallback)Sticky load balancer that uses consistent hashing based on a client provided routing key, defaulting to thefallbackload balancer when no routing key is provided. -
Uses of LoadBalancer in io.vertx.grpc.client
Methods in io.vertx.grpc.client with parameters of type LoadBalancer Modifier and Type Method Description GrpcClientBuilder<C>GrpcClientBuilder. withLoadBalancer(LoadBalancer loadBalancer)Configure the client to use a load balancer. -
Uses of LoadBalancer in io.vertx.reactivex.core.http
Methods in io.vertx.reactivex.core.http with parameters of type LoadBalancer Modifier and Type Method Description HttpClientBuilderHttpClientBuilder. withLoadBalancer(LoadBalancer loadBalancer)Configure the client to use a load balancer. -
Uses of LoadBalancer in io.vertx.reactivex.grpc.client
Methods in io.vertx.reactivex.grpc.client with parameters of type LoadBalancer Modifier and Type Method Description GrpcClientBuilder<C>GrpcClientBuilder. withLoadBalancer(LoadBalancer loadBalancer)Configure the client to use a load balancer. -
Uses of LoadBalancer in io.vertx.rxjava3.core.http
Methods in io.vertx.rxjava3.core.http with parameters of type LoadBalancer Modifier and Type Method Description HttpClientBuilderHttpClientBuilder. withLoadBalancer(LoadBalancer loadBalancer)Configure the client to use a load balancer. -
Uses of LoadBalancer in io.vertx.rxjava3.grpc.client
Methods in io.vertx.rxjava3.grpc.client with parameters of type LoadBalancer Modifier and Type Method Description GrpcClientBuilder<C>GrpcClientBuilder. withLoadBalancer(LoadBalancer loadBalancer)Configure the client to use a load balancer. -
Uses of LoadBalancer in io.vertx.serviceresolver
Methods in io.vertx.serviceresolver with parameters of type LoadBalancer Modifier and Type Method Description static ServiceResolverClientServiceResolverClient. create(Vertx vertx, LoadBalancer loadBalancer, ServiceResolverOptions options)Create a new service resolver client.
-