Trait tikv_util::worker::pool::RunnableWithTimer[][src]

pub trait RunnableWithTimer: Runnable {
    fn on_timeout(&mut self);
fn get_interval(&self) -> Duration; }

Required methods

fn on_timeout(&mut self)[src]

fn get_interval(&self) -> Duration[src]

Implementors

impl<E: Engine, R: RegionInfoProvider + Clone + 'static> RunnableWithTimer for Endpoint<E, R>

impl<T: 'static + RaftStoreRouter<RocksEngine>> RunnableWithTimer for Endpoint<T>

impl RunnableWithTimer for RegionCollector

impl<EK, ER, R> RunnableWithTimer for Runner<EK, ER, R> where
    EK: KvEngine,
    ER: RaftEngine,
    R: CasualRouter<EK>, 

impl<EK, R> RunnableWithTimer for Runner<EK, R> where
    EK: KvEngine,
    R: CasualRouter<EK> + Send + Clone + 'static, 

impl<E: KvEngine, R: RegionInfoProvider> RunnableWithTimer for TTLChecker<E, R>