Trait raftstore::coprocessor::ApplySnapshotObserver [−][src]
Provided methods
fn apply_plain_kvs(
&self,
_: &mut ObserverContext<'_>,
_: CfName,
_: &[(Vec<u8>, Vec<u8>)]
)
[src]
&self,
_: &mut ObserverContext<'_>,
_: CfName,
_: &[(Vec<u8>, Vec<u8>)]
)
Hook to call after applying key from plain file. This may be invoked multiple times for each plain file, and each time a batch of key-value pairs will be passed to the function.
fn apply_sst(&self, _: &mut ObserverContext<'_>, _: CfName, _path: &str)
[src]
Hook to call after applying sst file. Currently the content of the snapshot can’t be passed to the observer.