Package io.grpc.xds
Class RingHashLoadBalancer.RingHashConfig
- java.lang.Object
-
- io.grpc.xds.RingHashLoadBalancer.RingHashConfig
-
- Enclosing class:
- RingHashLoadBalancer
static final class RingHashLoadBalancer.RingHashConfig extends java.lang.Object
Configures the ring property. The larger the ring is (that is, the more hashes there are for each provided host) the better the request distribution will reflect the desired weights.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) long
maxRingSize
(package private) long
minRingSize
-
Constructor Summary
Constructors Constructor Description RingHashConfig(long minRingSize, long maxRingSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-