pub trait RegionServerEventListener: Sync + Send {
// Provided methods
fn on_region_registered(&self, _region_id: RegionId) { ... }
fn on_region_deregistered(&self, _region_id: RegionId) { ... }
}
Provided Methods§
Sourcefn on_region_registered(&self, _region_id: RegionId)
fn on_region_registered(&self, _region_id: RegionId)
Called after a new region was created/opened.
Sourcefn on_region_deregistered(&self, _region_id: RegionId)
fn on_region_deregistered(&self, _region_id: RegionId)
Called after a region was closed.