--- src/osaf/consensus/consensus.cc | 4 ++++ src/osaf/consensus/consensus.h | 2 ++ 2 files changed, 6 insertions(+)
diff --git a/src/osaf/consensus/consensus.cc b/src/osaf/consensus/consensus.cc index 0bebab2..814885e 100644 --- a/src/osaf/consensus/consensus.cc +++ b/src/osaf/consensus/consensus.cc @@ -207,6 +207,10 @@ bool Consensus::PrioritisePartitionSize() const { return prioritise_partition_size_; } +uint32_t Consensus::TakeoverValidTime() const { + return takeover_valid_time_; +} + std::string Consensus::CurrentActive() const { TRACE_ENTER(); if (use_consensus_ == false) { diff --git a/src/osaf/consensus/consensus.h b/src/osaf/consensus/consensus.h index eb12b2c..1fabf90 100644 --- a/src/osaf/consensus/consensus.h +++ b/src/osaf/consensus/consensus.h @@ -62,6 +62,8 @@ class Consensus { bool PrioritisePartitionSize() const; + uint32_t TakeoverValidTime() const; + // Determine if plugin is telling us to self-fence due to loss // of connectivity to the KV store bool SelfFence(const std::string& request) const; -- 2.7.4 _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel