finetune ObTimer and ObTenantTimezoneMgr

This commit is contained in:
zhjc1124
2023-06-01 12:17:47 +00:00
committed by ob-robot
parent 5ef01fc6fb
commit d83fc8474e
6 changed files with 48 additions and 68 deletions

View File

@ -79,7 +79,7 @@ public:
void wait(); // wait all running task finish
void destroy();
public:
int schedule(ObTimerTask &task, const int64_t delay, bool repeate = false);
int schedule(ObTimerTask &task, const int64_t delay, bool repeate = false, bool immediate = false);
int schedule_repeate_task_immediately(ObTimerTask &task, const int64_t delay);
bool task_exist(const common::ObTimerTask &task);
int task_exist(const common::ObTimerTask &task, bool &exist)