一.ConcurrentLinkedQueue
ConcurrentLinkedQueue<String> sessionStatQueue = new ConcurrentLinkedQueue<String>()
在sessionStatQueue.poll()前 需要判断sessionStatQueue.isEmpty(),不然会堵塞。
//TODO 此内容会持续更新......
一.ConcurrentLinkedQueue
ConcurrentLinkedQueue<String> sessionStatQueue = new ConcurrentLinkedQueue<String>()
在sessionStatQueue.poll()前 需要判断sessionStatQueue.isEmpty(),不然会堵塞。
//TODO 此内容会持续更新......