Class RingHashLoadBalancer.RingHashConfig
java.lang.Object
io.grpc.xds.RingHashLoadBalancer.RingHashConfig
- Enclosing class:
RingHashLoadBalancer
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
FieldsModifier and TypeFieldDescription(package private) final long(package private) final long -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
minRingSize
final long minRingSize -
maxRingSize
final long maxRingSize
-
-
Constructor Details
-
RingHashConfig
RingHashConfig(long minRingSize, long maxRingSize)
-
-
Method Details
-
toString
-