public void runReferParam(ReferParamObject obj) {
		try {
			for (int i = 0; i < 20; i++) {
				synchronized (obj) {
					// 多线程会累加这个值
					obj.setId(obj.getId() + 1);
					if (i == 10) {
						Thread.sleep(5000);
					}
					System.err.println("[" + Thread.currentThread().getId() + "]当i=" + i + "获取id 的值:" + obj.getId());
				}
			}
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
	}