| java.lang.Object | |
| ↳ | org.apache.helix.api.config.ClusterConfig.Delta | 
Update context for a ClusterConfig
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Instantiate the delta for a cluster config 
  
   | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Add an alert specification for the cluster. 
  
   | |||||||||||
Add a single constraint item 
  
   | |||||||||||
Add a statistic specification to the cluster. 
  
   | |||||||||||
Add a state upper bound constraint 
  
   | |||||||||||
Add a state upper bound constraint 
  
   | |||||||||||
Add a constraint on the maximum number of in-flight transitions of a certain type 
  
   | |||||||||||
Create a ClusterConfig that is the combination of an existing ClusterConfig and this delta 
  
   | |||||||||||
Remove an alert specification for the cluster 
  
   | |||||||||||
Remove a single constraint item 
  
   | |||||||||||
Remove a statistic specification from the cluster 
  
   | |||||||||||
Remove state upper bound constraint 
  
   | |||||||||||
Remove a constraint on the maximum number of in-flight transitions of a certain type 
  
   | |||||||||||
Allow or disallow participants from automatically being able to join the cluster 
  
   | |||||||||||
| 
  [Expand]
   Inherited Methods  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   
From class
  java.lang.Object
 | |||||||||||
Instantiate the delta for a cluster config
| clusterId | the cluster to update | 
|---|
Add an alert specification for the cluster. Existing specifications will not be overwritten
| alert | string specifying the alert specification | 
|---|
Add a single constraint item
| type | type of the constraint item | 
|---|---|
| constraintId | unique constraint id | 
| item | instantiated ConstraintItem | 
Add a statistic specification to the cluster. Existing specifications will not be overwritten
| stat | string specifying the stat specification | 
|---|
Add a state upper bound constraint
| scope | scope under which the constraint is valid | 
|---|---|
| stateModelDefId | identifier of the state model that owns the state | 
| state | the state to constrain | 
| dynamicUpperBound | the upper bound of replicas per partition in the state, can be a
          number, or the currently supported special bound values: "R" - Refers to the number of replicas specified during resource creation. This allows having different replication factor for each resource without having to create a different state machine. "N" - Refers to all nodes in the cluster. Useful for resources that need to exist on all nodes. This way one can add/remove nodes without having the change the bounds.  | 
        
Add a state upper bound constraint
| scope | scope under which the constraint is valid | 
|---|---|
| stateModelDefId | identifier of the state model that owns the state | 
| state | the state to constrain | 
| upperBound | maximum number of replicas per partition in the state | 
Add a constraint on the maximum number of in-flight transitions of a certain type
| scope | scope of the constraint | 
|---|---|
| stateModelDefId | identifies the state model containing the transition | 
| transition | the transition to constrain | 
| maxInFlightTransitions | number of allowed in-flight transitions in the scope | 
Create a ClusterConfig that is the combination of an existing ClusterConfig and this delta
| orig | the original ClusterConfig | 
|---|
Remove an alert specification for the cluster
| alert | alert specification | 
|---|
Remove a single constraint item
| type | type of the constraint item | 
|---|---|
| constraintId | unique constraint id | 
Remove a statistic specification from the cluster
| stat | statistic specification | 
|---|
Remove state upper bound constraint
| scope | scope under which the constraint is valid | 
|---|---|
| stateModelDefId | identifier of the state model that owns the state | 
| state | the state to constrain | 
Remove a constraint on the maximum number of in-flight transitions of a certain type
| scope | scope of the constraint | 
|---|---|
| stateModelDefId | identifies the state model containing the transition | 
| transition | the transition to constrain | 
Allow or disallow participants from automatically being able to join the cluster
| autoJoin | true if allowed, false if disallowed | 
|---|