| java.lang.Object | |
| ↳ | org.apache.helix.model.builder.CurrentStateBuilder |
Assemble a CurrentState
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Build a current state for a given resource
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Add a single partition-state mapping for this instance and resource
| |||||||||||
Add partition-state mappings for this instance and resource
| |||||||||||
Create a CurrentState
| |||||||||||
Set the session id for this current state
| |||||||||||
Set the state model for this current state
| |||||||||||
Set the name of the state model factory
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Build a current state for a given resource
| resourceId | resource identifier |
|---|
Add a single partition-state mapping for this instance and resource
| partitionId | the partition to map |
|---|---|
| state | the replica state |
Add partition-state mappings for this instance and resource
| mappings | map of partition to state |
|---|
Set the session id for this current state
| sessionId | session identifier |
|---|
Set the state model for this current state
| stateModelDefId | state model definition identifier |
|---|
Set the name of the state model factory