Log.log(Log.DEBUG,this,"Waking up with " + requestCount + " request(s) pending");  if(firstRequest != null) { beginRunning();  while(firstRequest != null) { doRequest(getNextRequest()); }  endRunning(); }
	private void doRequests()	{		synchronized(lock)		{			Log.log(Log.DEBUG,this,"Waking up with "				+ requestCount + " request(s) pending");			if(firstRequest != null)			{				beginRunning();				while(firstRequest != null)				{					doRequest(getNextRequest());				}				endRunning();			}			// notify a running waitForRequests() method			lock.notifyAll();			// wait for more requests			try			{				lock.wait();			}			catch(InterruptedException ie)			{				Log.log(Log.ERROR,this,ie);			}		}	}