阻塞队列
谁是我的程序媛?
这个作者很懒,什么都没留下…
展开
-
Socket
Socket客户端 ``import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import java.io.*; import java.net.Socket; import java.util.concurrent.TimeoutException; public class SocketConn { private static final String TAG = Socke原创 2021-11-11 15:11:30 · 67 阅读 · 0 评论 -
阻塞队列BlockingQueue
1. 关系图 由上图可以看出,BlockingQueue有集合的增删改查的特性。 2. 阻塞队列的四种形式 # BlockingQueue接口上的注释 BlockingQueue methods come in four forms, with different ways of handling operations that cannot be satisfied immediately, but may be satisfied at some point in the future: one th原创 2021-06-30 11:33:15 · 146 阅读 · 0 评论