Trait rlink::api::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

fn consult_version(
    &mut self,
    context: &FunctionSnapshotContext,
    _handle: &Option<CheckpointHandle>
) -> CheckpointId
[src]

fn initialize_state(
    &mut self,
    _context: &FunctionSnapshotContext,
    _handle: &Option<CheckpointHandle>
)
[src]

trigger the method when a operator initialization

fn snapshot_state(
    &mut self,
    _context: &FunctionSnapshotContext
) -> Option<CheckpointHandle>
[src]

trigger the method when the operator operate a Barrier event

Loading content...

Implementors

Loading content...