Class BatchGetRetryThresholdResolver

java.lang.Object
com.linkedin.venice.fastclient.BatchGetRetryThresholdResolver

public class BatchGetRetryThresholdResolver extends Object
Resolves the effective batch-get long-tail retry threshold for a key count. Precedence: a fixed threshold (> 0) wins; otherwise the server-provided policy, unless the local range was set explicitly; otherwise the local range. Shared by retry execution and latency-adaptive routing so both always agree on the threshold.
  • Constructor Details

  • Method Details

    • getThresholdInMicroSeconds

      public int getThresholdInMicroSeconds(int numKeys)