datanode::event_listener

Trait RegionServerEventListener

Source
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§

Source

fn on_region_registered(&self, _region_id: RegionId)

Called after a new region was created/opened.

Source

fn on_region_deregistered(&self, _region_id: RegionId)

Called after a region was closed.

Implementors§