sentFormatAlready = incrementalScheduling || !runInternal;
   public void processTasks (List tasks) {	 total += tasks.size();	 System.out.println (getName () + ".processTasks - received " + 						 tasks.size () + " tasks, " + total + " total so far.");	 if (runInternal)	   internalBuffer.append ("<root>");	 Date start = new Date();	 if (!sentFormatAlready) {	   if (useStoredFormat)		 objectFormatDoc = prepareStoredObjectFormat (tasks);	   else 		 prepareObjectFormat (tasks);	   sentFormatAlready = incrementalScheduling || runInternal;	 }	 setUIDToObjectMap (tasks, myTaskUIDtoObject);	 if (myExtraOutput)	   System.out.println (getName () + ".processTasks - sending " + 						   myTaskUIDtoObject.values ().size () + " tasks.");	 int numTasks = myTaskUIDtoObject.values ().size ();	 Date dataStart = new Date();	 if (runInternal || runDirectly) {	   if (!incrementalScheduling || sched == null) {		 if (myExtraOutput)		   System.out.println (getName () + ".processTasks - creating scheduler.");		 sched = new Scheduler ();		 sched.setupInternalObjects ();	   }	 }	 prepareData (tasks, objectFormatDoc);	 if (showTiming) {	   domUtil.reportTime (" - Vishnu completed data XML processing in ", dataStart);	   domUtil.reportTime (" - Vishnu completed XML processing in ", start);	 }	 waitForAnswer ();	 if (showTiming)	   domUtil.reportTime (" - Vishnu did " + numTasks + " tasks in ", start);   }