摘要: locks包结构层次 Lock 接口 方法签名描述 void lock(); 获取锁(不死不休) boolean tryLock(); 获取锁(浅尝辄止) boolean tryLock(long time, TimeUnit unit) throws InterruptedException; 获 阅读全文
posted @ 2019-07-25 21:20 CodingDiary 阅读(554) 评论(0) 推荐(1) 编辑