主要写add(long timeout)和poll(long timeout),就是说如果一个thread想加个entry到queue里,它可以设置一个timeout,如果这个timeout时间内没有加进去,就返回或者throw exception。
一亩三分地