| java.lang.Object | |
| ↳ | org.apache.helix.controller.strategy.AutoRebalanceStrategy.DefaultPlacementScheme | 
Compute preferred placements based on a default strategy that assigns replicas to nodes as evenly as possible while avoiding placing two replicas of the same partition on any node.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Given properties of this replica, determine the node it would prefer to be served by 
  
   | |||||||||||
Initialize global state 
  
   | |||||||||||
| 
  [Expand]
   Inherited Methods  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   
From class
  java.lang.Object
 | |||||||||||
   
From interface
  org.apache.helix.controller.strategy.AutoRebalanceStrategy.ReplicaPlacementScheme
 | |||||||||||
Given properties of this replica, determine the node it would prefer to be served by
| partitionId | The current partition | 
|---|---|
| replicaId | The current replica with respect to the current partition | 
| numPartitions | The total number of partitions | 
| numReplicas | The total number of replicas per partition | 
| nodeNames | A list of identifiers of all nodes, live and non-live | 
Initialize global state
| manager | The instance to which this placement is associated | 
|---|