猜是考BlockingQueue的poll(time)作为超时,然后计数读了20行就直接打印,生产者就多个线程读取日志并入队
点赞 评论

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务