Class TierConfigUtils


  • public final class TierConfigUtils
    extends Object
    Util methods for TierConfig
    • Method Detail

      • shouldRelocateToTiers

        public static boolean shouldRelocateToTiers​(TableConfig tableConfig)
        Returns whether relocation of segments to tiers has been enabled for this table
      • normalizeTierName

        public static String normalizeTierName​(String tierName)
      • getSortedTiersForStorageType

        public static List<Tier> getSortedTiersForStorageType​(List<TierConfig> tierConfigList,
                                                              String storageType,
                                                              org.apache.helix.HelixManager helixManager)
        Gets sorted list of tiers for given storage type from provided list of TierConfig
      • getSortedTiers

        public static List<Tier> getSortedTiers​(List<TierConfig> tierConfigList,
                                                org.apache.helix.HelixManager helixManager)
        Gets sorted list of tiers from provided list of TierConfig