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 HttpClientBuilder
HttpClientBuilder. 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 LoadBalancer
LoadBalancer. CONSISTENT_HASHING
Consistent hashing load balancer with 4 virtual servers, falling back to a random load balancer.static LoadBalancer
LoadBalancer. LEAST_REQUESTS
Least requests load balancer.static LoadBalancer
LoadBalancer. POWER_OF_TWO_CHOICES
Power of two choices load balancer.static LoadBalancer
LoadBalancer. RANDOM
Random load balancer.static LoadBalancer
LoadBalancer. ROUND_ROBIN
Simple round-robin load balancer.Methods in io.vertx.core.net.endpoint that return LoadBalancer Modifier and Type Method Description static LoadBalancer
LoadBalancer. consistentHashing(int numberOfVirtualServers, LoadBalancer fallback)
Sticky load balancer that uses consistent hashing based on a client provided routing key, defaulting to thefallback
load 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 LoadBalancer
LoadBalancer. consistentHashing(int numberOfVirtualServers, LoadBalancer fallback)
Sticky load balancer that uses consistent hashing based on a client provided routing key, defaulting to thefallback
load 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 HttpClientBuilder
HttpClientBuilder. 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 HttpClientBuilder
HttpClientBuilder. 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 ServiceResolverClient
ServiceResolverClient. create(Vertx vertx, LoadBalancer loadBalancer, ServiceResolverOptions options)
Create a new service resolver client.
-