Trait SchedulerCtx
Source pub(crate) trait SchedulerCtx: Send + Sync {
// Required methods
fn get_table_to_region_stats<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<HashMap<TableId, Vec<RegionStat>>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_table_reparts<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<(TableId, TableRepartValue)>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_table_route<'life0, 'async_trait>(
&'life0 self,
table_id: TableId,
) -> Pin<Box<dyn Future<Output = Result<(TableId, PhysicalTableRouteValue)>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn batch_get_table_route<'life0, 'life1, 'async_trait>(
&'life0 self,
table_ids: &'life1 [TableId],
) -> Pin<Box<dyn Future<Output = Result<HashMap<TableId, PhysicalTableRouteValue>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn gc_regions<'life0, 'life1, 'async_trait>(
&'life0 self,
region_ids: &'life1 [RegionId],
full_file_listing: bool,
timeout: Duration,
region_routes_override: Region2Peers,
) -> Pin<Box<dyn Future<Output = Result<GcReport>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}