10 2015 档案

摘要:悲观锁悲观锁是指假设并发更新冲突会发生,所以不管冲突是否真的发生,都会使用锁机制。悲观锁会完成以下功能:锁住读取的记录,防止其它事务读取和更新这些记录。其它事务会一直阻塞,直到这个事务结束。悲观锁是在使用了数据库的事务隔离功能的基础上,独享占用的资源,以此保证读取数据一致性,避免修改丢失。悲观锁可以... 阅读全文
posted @ 2015-10-22 10:04 Jeremy Wu 阅读(185) 评论(0) 推荐(0) 编辑
摘要:Cyclomatic Code Complexity was first introduced by Thomas McCabe in 1976. In 1976, Thomas McCabe published a paper arguing that code complexity is d... 阅读全文
posted @ 2015-10-22 10:01 Jeremy Wu 阅读(384) 评论(0) 推荐(0) 编辑
摘要:I've met this problem for so many times and let me write a blog for solving this problem.First, you have a repository called repo1 for example, and wa... 阅读全文
posted @ 2015-10-14 10:23 Jeremy Wu 阅读(491) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示