摘要:
Mysql存储引擎 1.查看数据库的锁竞争 a) 设置监视器:mysql> create table InnoDB_monitor(a INT) engine=InnoDB; b) 查看:mysql> show engine InnoDB status; c) 停止查看:mysql> drop ta 阅读全文
摘要:
ReentrantLock的常用方法,lock、tryLock和unlock。 截图主要分析部分的源码如下: public class ReentrantLock implements Lock, java.io.Serializable { private static final long se 阅读全文