if (!success) return false;   entry.setReadId(newId); entry.setWriteId(newId + 1); return true;
	private boolean update(String managedFile, String source) throws IOException {		Entry entry = (Entry) table.get(managedFile);		if (entry == null)			add(managedFile);		int newId = entry.getWriteId();		// attempt to rename the file to the next generation		boolean success = move(getAbsolutePath(source), getAbsolutePath(managedFile) + '.' + newId);		if (!success) {			//possible the next write generation file exists? Lets determine the largest			//generation number, then use that + 1.			newId = findOldestGeneration(managedFile) + 1;			success = move(getAbsolutePath(source), getAbsolutePath(managedFile) + '.' + newId);		}		if (!success)			return false;		// update the entry. read and write ids should be the same since		// everything is in sync		entry.setReadId(newId);		entry.setWriteId(newId + 1);		return true;	}