code: public void clearAllTasks(boolean isInterrupt) {
          List<String> taskIds = new ArrayList<String>();
          for (Map.Entry<String, ScheduledFuture<?>> tasks : runningTask.entrySet()) {
              ScheduledFuture<?> future = runningTask.get(tasks.getKey());
              boolean flag = future.cancel(isInterrupt);
              if (flag) {
                  taskIds.add(tasks.getKey());
              }
          }
          for (String taskId : taskIds) {
              runningTask.remove(taskId);
          }
  
      }
docs: 清除所有任务
  <p>Function: clearAllTasks</p>
  <p>Description: </p>
  
  @param isInterrupt
  @author acexy@thankjava.com
  @date 2016年1月12日 下午3:33:29
  @version 1.0