Class BatchGetConfigUtils

java.lang.Object
com.linkedin.venice.utils.BatchGetConfigUtils

public class BatchGetConfigUtils extends Object
  • Constructor Details

    • BatchGetConfigUtils

      public BatchGetConfigUtils()
  • Method Details

    • parseServerMultiKeyRetryThresholds

      public static TreeMap<Integer,Integer> parseServerMultiKeyRetryThresholds(String ranges)
      Validate untrusted server policies without tightening the legacy local-client parser's semantics. Empty is an absence sentinel handled by the caller, not a valid range table.
    • parseRetryThresholdForBatchGet

      public static TreeMap<Integer,Integer> parseRetryThresholdForBatchGet(String retryThresholdStr)
      The expected config format is like the following: "1-10:20,11-50:50,51-200:80,201-:1000"