pub struct CheckpointFactory;Expand description
Checkpoint module factory for creating checkpoint components
Implementations§
Source§impl CheckpointFactory
impl CheckpointFactory
Sourcepub fn create_manager(
config: V2WALConfig,
strategy: CheckpointStrategy,
) -> CheckpointResult<V2WALCheckpointManager>
pub fn create_manager( config: V2WALConfig, strategy: CheckpointStrategy, ) -> CheckpointResult<V2WALCheckpointManager>
Create a checkpoint manager with default configuration
Sourcepub fn create_adaptive_manager(
config: V2WALConfig,
min_interval: Duration,
max_wal_size: u64,
max_transactions: u64,
) -> CheckpointResult<V2WALCheckpointManager>
pub fn create_adaptive_manager( config: V2WALConfig, min_interval: Duration, max_wal_size: u64, max_transactions: u64, ) -> CheckpointResult<V2WALCheckpointManager>
Create a checkpoint manager with adaptive strategy
Sourcepub fn create_v2_optimized_manager(
config: V2WALConfig,
) -> CheckpointResult<V2WALCheckpointManager>
pub fn create_v2_optimized_manager( config: V2WALConfig, ) -> CheckpointResult<V2WALCheckpointManager>
Create a checkpoint manager optimized for V2 graph workloads
Sourcepub fn validate_config(config: &V2WALConfig) -> CheckpointResult<()>
pub fn validate_config(config: &V2WALConfig) -> CheckpointResult<()>
Validate checkpoint configuration
Sourcepub fn ensure_checkpoint_directory(config: &V2WALConfig) -> CheckpointResult<()>
pub fn ensure_checkpoint_directory(config: &V2WALConfig) -> CheckpointResult<()>
Create checkpoint directory if it doesn’t exist
Auto Trait Implementations§
impl Freeze for CheckpointFactory
impl RefUnwindSafe for CheckpointFactory
impl Send for CheckpointFactory
impl Sync for CheckpointFactory
impl Unpin for CheckpointFactory
impl UnwindSafe for CheckpointFactory
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