code: public static synchronized void setProcess(String applicationName, String scopedInstancePath, Process process) {
  		PROCESS_MAP.put(toAgentId(applicationName, scopedInstancePath), process);
  	}
docs: Stores a process (eg. a running script), so that the
  process can be reached later (eg. to cancel it when blocked).
  @param process The process to be stored