Creates a node with configured storage, transport, state machine, and runtime dependencies.
Complete node construction options.
Proposes adding a node to cluster membership.
Node identifier to add.
Transport address for the new node.
When true, adds the node as learner instead of voter.
True when configuration change is committed.
Returns the current application state machine state projection.
Returns the highest commit index known by this node.
Returns the current persisted term.
Reads a range of log entries.
Inclusive start index.
Inclusive end index.
Entries in the requested index range.
Returns the highest log index applied to the application state machine.
Returns the highest log index currently stored.
Returns the known leader identifier, or null if currently unknown.
Returns this node identifier.
Returns the node's current Raft role/state.
Returns true when this node currently acts as leader.
Returns true when lifecycle start completed and stop has not been called.
Proposes promoting a learner to voter.
Learner node identifier.
True when configuration change is committed.
Adds a transport peer without changing cluster configuration.
Peer node identifier.
Peer transport address.
Removes a transport peer without changing cluster configuration.
Peer node identifier.
Proposes removing a node from cluster membership.
Node identifier to remove.
True when configuration change is committed.
Starts node services and restores persisted state.
Submits a client command through the leader path and waits for commit.
Command payload to replicate.
Submission result containing success/failure details.
Raft node runtime coordinating storage, replication, membership, and command application.
Remarks
This class owns node lifecycle and integrates all core components. Public methods provide operational APIs while internal methods enforce leader checks, commit waiting, and apply-loop consistency.