CCF
|
#include <state.h>
Public Member Functions | |
State (const ccf::NodeId &node_id_) | |
State ()=default | |
Public Attributes | |
ccf::pal::Mutex | lock |
ccf::NodeId | node_id |
ccf::View | current_view = 0 |
ccf::kv::Version | last_idx = 0 |
ccf::kv::Version | commit_idx = 0 |
ViewHistory | view_history |
std::deque< Index > | committable_indices |
ccf::kv::LeadershipState | leadership_state = ccf::kv::LeadershipState::None |
ccf::kv::MembershipState | membership_state |
std::optional< ccf::kv::RetirementPhase > | retirement_phase = std::nullopt |
std::optional< ccf::SeqNo > | retirement_idx = std::nullopt |
std::optional< ccf::SeqNo > | retirement_committable_idx = std::nullopt |
std::optional< ccf::SeqNo > | retired_committed_idx = std::nullopt |
|
inline |
|
default |
ccf::kv::Version aft::State::commit_idx = 0 |
std::deque<Index> aft::State::committable_indices |
ccf::View aft::State::current_view = 0 |
ccf::kv::Version aft::State::last_idx = 0 |
ccf::kv::LeadershipState aft::State::leadership_state = ccf::kv::LeadershipState::None |
ccf::pal::Mutex aft::State::lock |
ccf::kv::MembershipState aft::State::membership_state |
ccf::NodeId aft::State::node_id |
std::optional<ccf::SeqNo> aft::State::retired_committed_idx = std::nullopt |
std::optional<ccf::SeqNo> aft::State::retirement_committable_idx = std::nullopt |
std::optional<ccf::SeqNo> aft::State::retirement_idx = std::nullopt |
std::optional<ccf::kv::RetirementPhase> aft::State::retirement_phase = std::nullopt |
ViewHistory aft::State::view_history |