code: public static void depose() {
      	int timerNum = timerList.size();
      	//清除Timer
      	synchronized (timerList) {
      		for (Timer t: timerList)
      			t.cancel();
      		timerList.clear();
      	}
      	
          List<Runnable> awaitingExecution = taskScheduler.shutdownNow();
          logger.infof("Tasks stopping. Tasks awaiting execution: %d", timerNum + awaitingExecution.size());
      }
docs: 关闭定时任务服务
  <p>系统关闭时可调用此方法终止正在执行的定时任务，一旦关闭后不允许再向线程池中添加任务，否则会报RejectedExecutionException异常</p>