if (isWarnEnabled ()) { warn (getName() + ".getSubtasks - ignoring " + parentTask.getUID() + " for now (= " + new Date(alarmService.currentTimeMillis()) + "), will revisit at " + new Date(currentAlarm.getExpirationTime ()));
if (mode == DONT_PROCESS_MODE) { if (isWarnEnabled ()) { warn (getName() + ".getSubtasks - not processing " + parentTask.getUID() + " for now (= " + new Date(alarmService.currentTimeMillis()) + "), will revisit at " + new Date(currentAlarm.getExpirationTime ())); } } else { if (isInfoEnabled ()) { info (getName() + ".getSubtasks - processing " + parentTask.getUID() + " at level 2 for now (= " + new Date(alarmService.currentTimeMillis()) + "), will revisit at " + new Date(currentAlarm.getExpirationTime ())); } super.handleTask (parentTask);
  public void handleTask(Task parentTask) {    int mode = getMode (parentTask);    if (isDebugEnabled()) {      debug (".getSubtasks - mode for task " + parentTask.getUID () + " is " + 	    ((mode==LEVEL_6_MODE) ? "LEVEL_6" : ((mode==LEVEL_2_MODE) ? "LEVEL_2" : "DONT_PROCESS")));    }    if (mode == DONT_PROCESS_MODE) {      synchronized (alarmMutex) { // alarm.expire will try to clear currentAlarm so must synchronize on it	if (currentAlarm == null) {	  startAgainIn (DAY_IN_MILLIS);	}	else {	  if (isDebugEnabled ()) {	    debug (getName() + ".getSubtasks - not starting new alarm.");	  }	}      }      if (isWarnEnabled ()) {	warn (getName() + ".getSubtasks - ignoring " + parentTask.getUID() + " for now (= " +	      new Date(alarmService.currentTimeMillis()) + "), will revisit at " +	      new Date(currentAlarm.getExpirationTime ()));      }      return;    }    else       super.handleTask(parentTask);  }