Package com.linkedin.venice.utils
Class RegionUtils
java.lang.Object
com.linkedin.venice.utils.RegionUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
composeRegionList
(Set<String> regions) A helper function to compose a region list withREGION_FILTER_LIST_SEPARATOR
.static String
getLocalRegionName
(VeniceProperties props, boolean isParentRegion) static String
getRegionSpecificMetricPrefix
(String localRegionName, String regionName) parseRegionsFilterList
(String regionsFilterList) A helper function to split a region list withREGION_FILTER_LIST_SEPARATOR
-
Constructor Details
-
RegionUtils
public RegionUtils()
-
-
Method Details
-
getLocalRegionName
-
getRegionSpecificMetricPrefix
-
parseRegionsFilterList
A helper function to split a region list withREGION_FILTER_LIST_SEPARATOR
-
composeRegionList
A helper function to compose a region list withREGION_FILTER_LIST_SEPARATOR
. This is the reverse ofparseRegionsFilterList(String)
.- Parameters:
regions
- , a set of regions- Returns:
- a string of regions separated by
REGION_FILTER_LIST_SEPARATOR
-