码迷,mamicode.com
首页 >  
搜索关键字:channel    ( 2568个结果
Redis研究(十六)—发布/订阅模式
在上一篇中我们写了Redis的任务队列。         除了实现任务队列外,Redis还提供了一组命令可以让开发者实现“发布/订阅”(publish/subscribe)模式。“发布/订阅”模式同样可以实现进程间的消息传递,其原理是这样的:         “发布/订阅”模式中包含两种角色,分别是发布者和订阅者。订阅者可以订阅一个或若干个频道(channel),而发布者可以向指定的频道发...
分类:其他好文   时间:2015-01-25 13:55:49    阅读次数:188
Go之go与channel组合使用
1,等待一个事件1,等待一个事件(Event) 这里的第17行<-ch 将一直阻塞,直到ch被关闭 或者 ch中可以取出值 为止所以到第17行之后会去执行go后面的func()匿名函数,在里面给ch赋值后(或者close(ch))后,才能继续往后执行package mainimport ( "fmt...
分类:其他好文   时间:2015-01-23 12:37:03    阅读次数:119
【原】iOS 设计中 图片后期简单处理的完美组合
iOS 设计中 图片后期简单处理的完美组合四张图+.DS_Store (3张alpha通道“是”,1张没有alpha通道)5,909,971 字节(磁盘上的 5.9 MB),共 5 项第一步:转非alpha通道,工具Alpha-Channel-Removerhttps://github.com/.....
分类:移动开发   时间:2015-01-22 12:57:00    阅读次数:131
【Flume】从入口Application来分析flume的source和sink是如何与channel交互的
大家在启动flume的时候,输入的命令就可以看出flume的启动入口了 [root@com21 apache-flume-1.5.2-bin]# sh bin/flume-ng agent -c conf -f conf/server.conf -n a1 Info: Sourcing environment configuration script /home/flume/apache-flu...
分类:移动开发   时间:2015-01-21 18:22:15    阅读次数:330
关于wcf 的连接超时问题
今天网上的系统突然报错,经过排查是调用wcf报错了,报错信息如下:System.TimeoutException: The request channel timed out while waiting for a reply after 00:00:00. Increase the timeout value passed to the call to Request or increase t...
分类:其他好文   时间:2015-01-21 15:10:07    阅读次数:268
asterisk channel driver dev ref
入口函数load_module load_config ast_channel_register console_tech ast_cli_register_multiple console_tech需要提供一系列的毁掉函数,比如 static struct ast_channel_tech co....
分类:其他好文   时间:2015-01-21 01:15:27    阅读次数:248
FC SAN - 光纤通道存储区域网络
参考: http://en.wikipedia.org/wiki/Fibre_Channel http://blog.itpub.net/26427494/viewspace-1382649/     FC SAN,就是使用FC的SAN, 下面来看看FC SAN的相关概念:     FC历史路线图: NAME Line-rate (gigabaud) ...
分类:其他好文   时间:2015-01-19 14:26:50    阅读次数:187
Huawei E1750 Asterisk
http://wiki.e1550.mobi/doku.php?id=installationhttps://wiki.asterisk.org/wiki/display/AST/Mobile+Channel+Requirements/usr/sbin/asterisk -vvvgcCLI>modu...
分类:其他好文   时间:2015-01-14 00:37:56    阅读次数:392
姚博文 postgresql listen/notify push message
使用postgresql向客端推送消息 #listen message_channel; notify message_channel,'hello todd'; jdbc: Statement stmt = conn.createStatement(); stmt.execute("LISTEN message_channel"); stmt.close(); no...
分类:数据库   时间:2015-01-13 19:58:45    阅读次数:179
使用Netback备份Oracle报ora-27206错误处理
今天,同事的数据库备份出现问题,帮忙查看,错误信息如下: channel ch01: starting piece 1 at 2015-01-12:22:06:56 RMAN-03009: failure of backup command on ch01 channel at 01/12/2015 22:11:51 ORA-19513: failed to identify sequentia...
分类:数据库   时间:2015-01-13 17:54:06    阅读次数:317
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!