Package org.opendaylight.controller.cluster.raft.behaviors
package org.opendaylight.controller.cluster.raft.behaviors
-
ClassDescriptionThe behavior of a RaftActor when it is in the Leader state.Abstract class that provides common code for a RaftActor behavior.The behavior of a RaftActor when it is in the Candidate raft state.The behavior of a RaftActor in the Follower raft state.Leader which is termed as isolated.The behavior of a RaftActor when it is in the Leader state.Encapsulates the leader state and logic for sending snapshot chunks to a follower.The behavior of a RaftActor when it is in the PreLeader state.The interface for a class that implements a specific behavior of a RaftActor.The SyncStatusTracker tracks if a Follower is in sync with any given Leader or not When an update is received from the Leader and the update happens to be the first update from that Leader then the SyncStatusTracker will not mark the Follower as not in-sync till the Followers commitIndex matches the commitIndex that the Leader sent in it's very first update.