| java.lang.Object | |
| ↳ | org.apache.helix.model.builder.ResourceAssignmentBuilder | 
Build an ideal assignment of resources
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create an assignment for a given resource 
  
   | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Add a single replica assignment 
  
   | |||||||||||
Add multiple assignments of partition replicas 
  
   | |||||||||||
Get a complete resource assignment 
  
   | |||||||||||
| 
  [Expand]
   Inherited Methods  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   
From class
  java.lang.Object
 | |||||||||||
Create an assignment for a given resource
| resourceId | resource id | 
|---|
Add a single replica assignment
| partitonId | the partition to assign | 
|---|---|
| participantId | participant of assignment | 
| state | replica state | 
Add multiple assignments of partition replicas
| partitionId | the partition to assign | 
|---|---|
| replicaMap | participant-state map of assignments |