pub struct CheckpointMetrics { /* private fields */ }Expand description
Checkpoint metrics collector for performance monitoring (backward compatibility wrapper)
Implementations§
Source§impl CheckpointMetrics
impl CheckpointMetrics
Sourcepub fn new(config: V2WALConfig) -> Self
pub fn new(config: V2WALConfig) -> Self
Create new checkpoint metrics collector
Sourcepub fn update_checkpoint_metrics(
&self,
progress: &CheckpointProgress,
start_time: Instant,
) -> CheckpointResult<()>
pub fn update_checkpoint_metrics( &self, progress: &CheckpointProgress, start_time: Instant, ) -> CheckpointResult<()>
Update metrics after checkpoint completion
Sourcepub fn get_metrics(&self) -> CheckpointResult<CheckpointMetricsData>
pub fn get_metrics(&self) -> CheckpointResult<CheckpointMetricsData>
Get current metrics snapshot
Sourcepub fn reset_metrics(&self) -> CheckpointResult<()>
pub fn reset_metrics(&self) -> CheckpointResult<()>
Reset metrics to baseline
Sourcepub fn generate_performance_report(&self) -> CheckpointResult<String>
pub fn generate_performance_report(&self) -> CheckpointResult<String>
Generate performance report
Auto Trait Implementations§
impl Freeze for CheckpointMetrics
impl RefUnwindSafe for CheckpointMetrics
impl Send for CheckpointMetrics
impl Sync for CheckpointMetrics
impl Unpin for CheckpointMetrics
impl UnwindSafe for CheckpointMetrics
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more