Class RegionUtils

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

public class RegionUtils extends Object
  • Constructor Details

    • RegionUtils

      public RegionUtils()
  • Method Details

    • getLocalRegionName

      public static String getLocalRegionName(VeniceProperties props, boolean isParentRegion)
    • getRegionSpecificMetricPrefix

      public static String getRegionSpecificMetricPrefix(String localRegionName, String regionName)
    • parseRegionsFilterList

      public static Set<String> parseRegionsFilterList(String regionsFilterList)
      A helper function to split a region list with REGION_FILTER_LIST_SEPARATOR
    • composeRegionList

      public static String composeRegionList(Set<String> regions)
      A helper function to compose a region list with REGION_FILTER_LIST_SEPARATOR. This is the reverse of parseRegionsFilterList(String).
      Parameters:
      regions - , a set of regions
      Returns:
      a string of regions separated by REGION_FILTER_LIST_SEPARATOR