码迷,mamicode.com
首页 >  
搜索关键字:watcher    ( 295个结果
Apache Curator Tree Cache Watcher
Apache Curator Tree Cache Watcher...
分类:Web程序   时间:2015-02-27 17:04:35    阅读次数:322
phpstorm配置File Watcher在windows下自动编译sass文件
最近刚接触sass这个css预处理器,其在windows上需要先安装Ruby运行环境。装好Ruby和sass后,发现如果要将.sass文件转成css的话,还需要在控制台中输入命令,比较麻烦。由于我自己用的IDE是phpstorm,所以去其官网翻了下,可以用里面的File Watchers来实现自动转...
分类:Windows程序   时间:2015-02-26 18:15:28    阅读次数:1449
Zookeeper源码分析:Watcher机制
通过Watcher源码分析,可以更加清晰地理解Watcher的特性。 本文通过源码分析了设置Watcher,以及修改znode数据触发Watcher的过程。...
分类:其他好文   时间:2015-02-23 15:34:43    阅读次数:321
ZooKeeperNet源码解析
转载请注明出处:jiq?钦's technical Blog ZooKeeperNet是ZooKeeper的.NET客户端,下载地址:https://github.com/ewhauser/zookeeper 测试程序 ZooKeeper zkClient = new ZooKeeper(URL, new TimeSpan(0, 0, 0, 10000), watcher);...
分类:Web程序   时间:2015-02-08 18:11:49    阅读次数:238
OS Watcher
今天客户需要使用Os Watcher,就简单的学习了一下。这里贴出官方手册,方便没有mos账号的同学 OSWatcher now provides an analysis tool oswbba which analyzes the log files produced by OSWatcher. This tool allows OSWatcher to be self-analy...
分类:其他好文   时间:2015-01-29 15:57:31    阅读次数:327
Zookeeper连接重试设置
在ZKUtil.java中: public static RecoverableZooKeeper connect(Configuration conf, String ensemble, Watcher watcher, final String identifier) throws ...
分类:其他好文   时间:2015-01-22 10:52:08    阅读次数:110
简单的反射Demo
1 private void button1_Click(object sender, EventArgs e) 2 {//计时器 3 System.Diagnostics.Stopwatch watcher = new System.Diagnostic...
分类:其他好文   时间:2015-01-12 16:20:03    阅读次数:154
使用 ZooKeeper 同步集群配置
用 ZooKeeper 同步集群配置,当需要修改所有节点配置时,将配置更新到ZooKeeper 的一个节点,引起这个节点数据发生变化,其他所有需要同步配置的节点上的本地 Watcher 会立即发现节点状态的变化,并将最新数据更新到本地把官方Demo改了改,响应 Watcher 时用 ConfFile...
分类:其他好文   时间:2014-12-10 19:42:58    阅读次数:180
Zookeeper 3.4.6 Client端流程粗略梳理
首先从Zookeeper入手,Zookeeper-->ClientCnxn-->sendThread/eventThread public ZooKeeper(String connectString, int sessionTimeout, Watcher watcher, boolean canBeReadOnly) throws IOException { ...
分类:其他好文   时间:2014-12-04 23:15:28    阅读次数:259
Zookeeper如何正确设置和获取watcher
Watcher 设置是开发中最常见的,需要搞清楚watcher的一些基本特征,对于exists、getdata、getchild对于节点的不同操作会收到不同的 watcher信息。对父节点的变更以及孙节点的变更都不会触发watcher,而对watcher本身节点以及子节点的变更会触发watcher,具体参照下表。...
分类:其他好文   时间:2014-12-04 17:59:22    阅读次数:247
295条   上一页 1 ... 26 27 28 29 30 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!