Uses of Interface
io.vertx.core.net.endpoint.LoadBalancer
Packages that use LoadBalancer
Package
Description
-
Uses of LoadBalancer in io.vertx.core.http
Methods in io.vertx.core.http with parameters of type LoadBalancerModifier and TypeMethodDescriptionHttpClientBuilder.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 LoadBalancerModifier and TypeFieldDescriptionstatic final LoadBalancerLoadBalancer.CONSISTENT_HASHINGConsistent hashing load balancer with 4 virtual servers, falling back to a random load balancer.static final LoadBalancerLoadBalancer.FIRSTLoad balancing policy that returns the first server.static final LoadBalancerLoadBalancer.LEAST_REQUESTSLeast requests load balancer.static final LoadBalancerLoadBalancer.POWER_OF_TWO_CHOICESPower of two choices load balancer.static final LoadBalancerLoadBalancer.RANDOMRandom load balancer.static final LoadBalancerLoadBalancer.ROUND_ROBINSimple round-robin load balancer.Methods in io.vertx.core.net.endpoint that return LoadBalancerModifier and TypeMethodDescriptionstatic 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 LoadBalancerModifier and TypeMethodDescriptionstatic 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 LoadBalancerModifier and TypeMethodDescriptionGrpcClientBuilder.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 LoadBalancerModifier and TypeMethodDescriptionHttpClientBuilder.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 LoadBalancerModifier and TypeMethodDescriptionGrpcClientBuilder.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 LoadBalancerModifier and TypeMethodDescriptionHttpClientBuilder.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 LoadBalancerModifier and TypeMethodDescriptionGrpcClientBuilder.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 LoadBalancerModifier and TypeMethodDescriptionstatic ServiceResolverClientServiceResolverClient.create(Vertx vertx, LoadBalancer loadBalancer, ServiceResolverOptions options) Create a new service resolver client.