The number of epochs applied on this node.
(&self)
| 119 | |
| 120 | /// The number of epochs applied on this node. |
| 121 | pub fn epochs_applied(&self) -> u64 { |
| 122 | self.state_machine |
| 123 | .lock() |
| 124 | .unwrap_or_else(|p| p.into_inner()) |
| 125 | .metrics |
| 126 | .epochs_applied |
| 127 | .load(std::sync::atomic::Ordering::Relaxed) |
| 128 | } |
| 129 | |
| 130 | /// Register a per-vshard output sender so the state machine can |
| 131 | /// fan out sequenced transactions to the receiving test code. |