Package org.apache.helix.controller.rebalancer.config

Examples of org.apache.helix.controller.rebalancer.config.RebalancerConfigHolder


      persistConfig = true;
    }
    RebalancerConfig rebalancerConfig = resource.getRebalancerConfig();
    if (rebalancerConfig != null) {
      // only persist if this is not easily convertible to an ideal state
      configuration.addNamespacedConfig(new RebalancerConfigHolder(rebalancerConfig)
          .toNamespacedConfig());
      persistConfig = true;
    }
    ProvisionerConfig provisionerConfig = resource.getProvisionerConfig();
    if (provisionerConfig != null) {
View Full Code Here


  /**
   * Get a RebalancerConfig if available
   * @return RebalancerConfig, or null
   */
  public <T extends RebalancerConfig> T getRebalancerConfig(Class<T> clazz) {
    RebalancerConfigHolder config = new RebalancerConfigHolder(this);
    return config.getRebalancerConfig(clazz);
  }
View Full Code Here

            .toNamespacedConfig());
        addedAnything = true;
      }
      RebalancerConfig rebalancerConfig = deltaConfig.getRebalancerConfig();
      if (rebalancerConfig != null) {
        updatedResourceConfig.addNamespacedConfig(new RebalancerConfigHolder(rebalancerConfig)
            .toNamespacedConfig());
        addedAnything = true;
      }
      UserConfig userConfig = deltaConfig.getUserConfig();
      if (userConfig != null) {
View Full Code Here

TOP

Related Classes of org.apache.helix.controller.rebalancer.config.RebalancerConfigHolder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.