摘要: 1.配置sentinel.conf -------------------------------------------------- port 26379 dir "/home/app/soft/redis-2.8.19" daemonize yes logfile "/var/log/redis/sentinel.log" sentinel monitor mymaster 10.0.13... 阅读全文
posted @ 2017-02-06 09:59 也许还年轻 阅读(210) 评论(0) 推荐(0) 编辑
摘要: public interface DistributedLock { boolean getLock(String var1, String var2, int var3);//加锁 void unLock(String var1, String var2);//释放 } // // Source code recreated from a .class file by I... 阅读全文
posted @ 2017-02-06 09:54 也许还年轻 阅读(7300) 评论(1) 推荐(0) 编辑