- <init>
Start building a state model with a name
- addState
Define all valid states using this method. Set the priority in which the
constraints must be satisfi
- addTransition
Define all legal transitions between states using this method. Priority is used
to order the transit
- build
Create a StateModelDefinition from this Builder
- dynamicUpperBound
You can use this to have the bounds dynamically change based on other
parameters.
Currently support
- initialState
initial state of a replica when it starts, most commonly used initial state is
OFFLINE
- upperBound
Set a maximum for replicas in this state