Searched refs:TimerManager (Results 1 – 5 of 5) sorted by relevance
13 static ref TIMER_TASK_MANAGER:RwLock<TimerManager> = RwLock::new(TimerManager {21 pub struct TimerManager { struct27 impl<'a> IntoIterator for &'a mut TimerManager { implementation37 impl TimerManager { implementation92 TimerManager::update_next_trigger(id, true); //更新触发时间 in check_timer()101 TimerManager::remove_timer_unit(id); in check_timer()
9 use self::timer_manager::TimerManager;49 TimerManager::cancel_timer(tmp.0); in check_running_status()57 TimerManager::update_next_trigger(tmp.0, false); //更新所有归属于此unit的计时器 in check_running_status()
12 use manager::{timer_manager::TimerManager, Manager};64 TimerManager::check_timer(); in main()
8 manager::{timer_manager::TimerManager, UnitManager},168 TimerManager::cancel_timer(service.unit_id()); in after_exit()199 TimerManager::push_timer( in restart()234 TimerManager::push_timer( in exit()
5 use crate::manager::timer_manager::TimerManager;158 TimerManager::update_next_trigger(id, true); in run()202 TimerManager::push_timer_unit(unit); in _init()