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
fn consult_version(
&mut self,
context: &FunctionSnapshotContext,
_handle: &Option<CheckpointHandle>
) -> CheckpointId
fn initialize_state(
&mut self,
_context: &FunctionSnapshotContext,
_handle: &Option<CheckpointHandle>
)
fn initialize_state(
&mut self,
_context: &FunctionSnapshotContext,
_handle: &Option<CheckpointHandle>
)
trigger the method when a operator
initialization
fn snapshot_state(
&mut self,
_context: &FunctionSnapshotContext
) -> Option<CheckpointHandle>
fn snapshot_state(
&mut self,
_context: &FunctionSnapshotContext
) -> Option<CheckpointHandle>
trigger the method when the operator
operate a Barrier
event