使用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
今天,同事的数据库备份出现问题,帮忙查看,错误信息如下:
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
Channels are the repositories where the events are staged on a agent. Source adds the events and Sink removes it.
通道就是事件暂存的地方,source负责往通道中添加event,sink负责从通道中移出event
flume1.5.2内置的通道有:内存,文件,jdbc
1、内...
分类:
Web程序 时间:
2015-01-13 16:02:38
阅读次数:
734
在能量分析攻击中,可以选择攻击整个byte或者某个单一的bit。
但是,在芯片中通常是以byte的形式进行运算和存储,因此即使攻击目标为单一bit,其所涉及的运算单元仍然会是byte。这样,一个byte中的其他7个bit都成为了转换噪声,因为这7个bit也会参与运算从而出现在采集到的能量迹中。我们把这个转换噪声称为P(sw.noise),有用信息部分P(exp),操作消耗能量P(op),数据产生...
分类:
其他好文 时间:
2015-01-13 15:57:22
阅读次数:
280
多路复用技术意在可以将一个event根据配置信息发送特定的channel上。
A source instance can specify multiple channels, but a sink instance can only specify one channel.
Flume supports fanning out the flow from one source
to m...
分类:
Web程序 时间:
2015-01-13 10:29:07
阅读次数:
1361
前言介绍: 我们的NettyServer收到数据后,需要群发给当前链接到服务端的所有小伙伴。 技术点: 1、ChannelGroup 【io.netty.channel.group.DefaultChannelGroup】 欢迎加入:itstack | Netty The Sniper 536069...
分类:
Web程序 时间:
2015-01-12 18:53:27
阅读次数:
225
项目中涉及到调用第三方的Https的WebService,我使用的是原始的HttpWebRequest。代码中已经考虑到是Https,加上了SSL3协议,加上了委托调用。但偶尔还是会碰到The request was aborted:Could not create SSL/TLS secure c...
分类:
其他好文 时间:
2015-01-12 18:50:54
阅读次数:
288
malloc的全称是memory allocation,中文叫动态内存分配,当无法知道内存具体位置的时候,想要绑定真正的内存空间,就需要用到动态的分配内存。下面具体介绍一下malloc函数,,希望帮助大家了解。一、原型:extern void *malloc(unsigned int num_b.....
分类:
其他好文 时间:
2015-01-12 16:02:24
阅读次数:
120
1.7.3.1并发:主要用于提高备份的速度,可以分为手动并发或自动并发手动并发:通过分配多个通道并将文件指定到特定的通道RMAN> run {2>allocate channel ch1 device type disk;3>allocate channel ch2 device type disk...
分类:
其他好文 时间:
2015-01-11 17:46:39
阅读次数:
230
1. iw dev wlan0 interface add mon_wlan0 type monitor 2. ifconfig mon_wlan0 up 3. iwconfig mon_wlan0 channel ‘X‘ 4. wireshark? base on mon_wlan0 ? Ps: check channel support or not with command "i...
分类:
其他好文 时间:
2015-01-09 12:50:43
阅读次数:
227