class Producer {

  public void produce() throws InterruptedException {

    Item item = new Item(name, itemId++);
    queue.put(item);
    Random random = new Random();
    Thread.sleep(random.nextInt(2000));
  }

  public  Producer(String name, ItemQueue queue);

}