long start = System.currentTimeMillis();
if (ChainBuilderAgent.DEBUG) { start = System.currentTimeMillis(); }
	public synchronized Collection getChainExecutions() {				// if we're done, go for it.		if (chainExecutions != null) {			return chainExecutions.getExecutions();		}				if (gettingExecutions == false) {			long start = System.currentTimeMillis();			gettingExecutions = true;			retrieveChainExecutions();			gettingExecutions = false;			notifyAll();			long getTime = System.currentTimeMillis()-start;			System.err.println("time for executions is "+getTime);			return chainExecutions.getExecutions();		}		else {// in progress			try{ 				wait();				return chainExecutions.getExecutions();			}			catch (InterruptedException e) {				return null;			}		}	}