JUC

BlockingQueue: 不接受 null 元素;能够是限定容量的;实现是线程安全的;主要用于生产者-使用者队列; 方法 抛出异常 返回特定的值 阻塞 超时 插入 add(e) offer(e) put(e) offer(e, time, unit) 移除 remove() poll() take() poll(time, unit) 检查 element() pee
相关文章
相关标签/搜索