public static class

ResourceConfig.Delta

extends Object
java.lang.Object
   ↳ org.apache.helix.api.config.ResourceConfig.Delta

Class Overview

Update context for a ResourceConfig

Summary

Public Constructors
ResourceConfig.Delta(ResourceId resourceId)
Instantiate the delta for a resource config
Public Methods
ResourceConfig.Delta addUserConfig(UserConfig userConfig)
Add the user configuration
void merge(HelixDataAccessor accessor)
Given a physical accessor, merge in the updated logical properties
ResourceConfig.Delta setIdealState(IdealState idealState)
Set the ideal state
ResourceConfig.Delta setProvisionerConfig(ProvisionerConfig config)
Set the provisioner configuration
ResourceConfig.Delta setRebalancerConfig(RebalancerConfig config)
Set the rebalancer configuration
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ResourceConfig.Delta (ResourceId resourceId)

Instantiate the delta for a resource config

Parameters
resourceId the resource to update

Public Methods

public ResourceConfig.Delta addUserConfig (UserConfig userConfig)

Add the user configuration

Parameters
userConfig user-specified properties
Returns
  • Delta

public void merge (HelixDataAccessor accessor)

Given a physical accessor, merge in the updated logical properties

Parameters
accessor the physical accessor

public ResourceConfig.Delta setIdealState (IdealState idealState)

Set the ideal state

Parameters
idealState updated ideal state
Returns
  • Delta

public ResourceConfig.Delta setProvisionerConfig (ProvisionerConfig config)

Set the provisioner configuration

Parameters
config properties of interest for provisioning
Returns
  • Delta

public ResourceConfig.Delta setRebalancerConfig (RebalancerConfig config)

Set the rebalancer configuration

Parameters
config properties of interest for rebalancing
Returns
  • Delta