public void push() {
		synchronized(store){
			while (count == max) {
				try {
					System.out.println("仓库已满");
					store.wait();
				} catch (InterruptedException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
			}
			productId++;
			count++;
			int id = productId;
			store.addFirst(id);
			System.out.println("生产：" + id);
			store.notifyAll();
		}
	}