摘要:
https://segmentfault.com/a/1190000012185322 阅读全文
摘要:
http://www.cnblogs.com/biehongli/p/7650570.html 阅读全文
摘要:
原文地址: http://www.cnblogs.com/nevermorewang/p/5611807.html 选主原理介绍:zookeeper的节点有两种类型,持久节点跟临时节点。临时节点有个特性,就是如果注册这个节点的机器失去连接(通常是宕机),那么这个节点会被zookeeper删除。选主过 阅读全文
摘要:
https://blog.csdn.net/qiangcuo6087/article/details/79067136 实现互斥锁 package com.zookeeper.lock; import java.util.Collections; import java.util.Comparato 阅读全文
摘要:
https://blog.csdn.net/haoyuyang/article/details/53469269 https://www.cnblogs.com/seaspring/p/5569314.html https://www.cnblogs.com/haoxinyue/p/6561896. 阅读全文