static LatencyAwarePolicy.Builder |
LatencyAwarePolicy.builder(LoadBalancingPolicy childPolicy) |
Creates a new latency aware policy builder given the child policy that the resulting policy
should wrap.
|
LatencyAwarePolicy.Builder |
LatencyAwarePolicy.Builder.withExclusionThreshold(double exclusionThreshold) |
Sets the exclusion threshold to use for the resulting latency aware policy.
|
LatencyAwarePolicy.Builder |
LatencyAwarePolicy.Builder.withMininumMeasurements(int minMeasure) |
Sets the minimum number of measurements per-host to consider for the resulting latency aware
policy.
|
LatencyAwarePolicy.Builder |
LatencyAwarePolicy.Builder.withRetryPeriod(long retryPeriod,
TimeUnit unit) |
Sets the retry period for the resulting latency aware policy.
|
LatencyAwarePolicy.Builder |
LatencyAwarePolicy.Builder.withScale(long scale,
TimeUnit unit) |
Sets the scale to use for the resulting latency aware policy.
|
LatencyAwarePolicy.Builder |
LatencyAwarePolicy.Builder.withUpdateRate(long updateRate,
TimeUnit unit) |
Sets the update rate for the resulting latency aware policy.
|