Application state machine contract used by the Raft node.
Implementations must be deterministic for replicated commands in order to keep state consistent across all nodes.
Applies a replicated command to application state.
Returns an observable view of the current application state.
Replaces current application state from snapshot bytes.
Serializes current application state into snapshot bytes.
Application state machine contract used by the Raft node.
Remarks
Implementations must be deterministic for replicated commands in order to keep state consistent across all nodes.