oxirs-cluster 0.2.4

Raft-backed distributed dataset for high availability and horizontal scaling
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! # RegionManager - predicates Methods
//!
//! This module contains method implementations for `RegionManager`.
//!
//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)

use super::regionmanager_type::RegionManager;

impl RegionManager {
    /// Check if monitoring is currently active
    pub async fn is_monitoring_active(&self) -> bool {
        let metrics = self.performance_metrics.read().await;
        metrics.monitoring_enabled
    }
}