Trait rlink::core::checkpoint::CheckpointFunction[][src]

pub trait CheckpointFunction {
    fn consult_version(
        &mut self,
        context: &FunctionSnapshotContext,
        _handle: &Option<CheckpointHandle>
    ) -> CheckpointId { ... }
fn initialize_state(
        &mut self,
        _context: &FunctionSnapshotContext,
        _handle: &Option<CheckpointHandle>
    ) { ... }
fn snapshot_state(
        &mut self,
        _context: &FunctionSnapshotContext
    ) -> Option<CheckpointHandle> { ... } }

Provided methods

trigger the method when a operator initialization

trigger the method when the operator operate a Barrier event

Implementors