Trait raftstore::coprocessor::RegionChangeObserver [−][src]
Provided methods
fn on_region_changed(
&self,
_: &mut ObserverContext<'_>,
_: RegionChangeEvent,
_: StateRole
)
[src]
&self,
_: &mut ObserverContext<'_>,
_: RegionChangeEvent,
_: StateRole
)
Hook to call when a region changed on this TiKV
Implementors
impl RegionChangeObserver for RegionEventListener
[src]
fn on_region_changed(
&self,
context: &mut ObserverContext<'_>,
event: RegionChangeEvent,
role: StateRole
)
[src]
&self,
context: &mut ObserverContext<'_>,
event: RegionChangeEvent,
role: StateRole
)