关于MemStore的补充
在通过HStore.add向store中添加一个kv时,首先把数据写入到memstore中。这一点没有什么说明;
publiclongadd(finalKeyValue
kv) {
lock.readLock().lock();
try{
returnthis.memstore.add(kv);
}finally{
lock.readLock().un...
分类:
其他好文 时间:
2014-05-12 14:14:38
阅读次数:
340
当我在subsite里点击”Add a document”,报这个错,后来一看event log:
在AAM里加上一条: 问题搞定:
分类:
其他好文 时间:
2014-05-12 13:14:07
阅读次数:
306
beanutils-1.8.0.zipcommons-logging.jar包的引入:在项目中创建一个文件夹如libs,然后将整个项目需要的第三方的jar包可以直接拷贝带该目录,随后打开该目录全选->右键->Build
path -> add path -> 看到奶瓶子即可
分类:
其他好文 时间:
2014-05-12 13:06:54
阅读次数:
201
Ubuntu下自带的Ibus输入法平台并不好用,现在主要使用的是fcitx输入法.安装fcitx输入法的安装和配置过程如下:首先卸载掉ibus,输入命令sudo
apt-get remove ibus然后添加fcitx源,sudo add-apt-resporitory ppa:fcitx-team...
分类:
其他好文 时间:
2014-05-12 08:52:36
阅读次数:
271
1.BCB 菜单:
Project->Options->Packages->Add[喝小酒的网摘]http://blog.const.net.cn/a/8496.htm如果是BCB6:
选择安装的文件夹 yb_base_c6.bpl 和 yb_comm_c6.bpl, 然后按“打开”按钮如果是BCB...
分类:
其他好文 时间:
2014-05-12 08:32:09
阅读次数:
470
原题地址:http://oj.leetcode.com/problems/sum-root-to-leaf-numbers/题意:Given
a binary tree containing digits from0-9only, each root-to-leaf path could
repre...
分类:
编程语言 时间:
2014-05-12 01:28:30
阅读次数:
440
Given two numbers represented as strings,
return multiplication of the numbers as a string.Note: The numbers can be
arbitrarily large and are non-nega...
分类:
其他好文 时间:
2014-05-11 14:35:13
阅读次数:
270
本节讲述PDSP监控的配置。
QMSS PDSP:The queue manager sub system contains two or eight packed data structure processors (PDSP) and associated hardware that allow autonomous QMSS-related tasks with interrupt not...
分类:
其他好文 时间:
2014-05-11 04:02:36
阅读次数:
507
学习完了事件(event),可以得到:事件(event)=委托(deledgate)+增加/移除(add/remove)
——这一点,创建一个事件之后用反编译器(.NET Reflector)可以看见而之前学习属性可以看成:属性=共有的(pub...
分类:
其他好文 时间:
2014-05-11 01:15:13
阅读次数:
392
1、数组的下标法:直观且容易理解如:int a[5],i;printf("Input five
numbers:");for(i=0;i<5;i++){scanf("%d",&a[i]);}for(i=0;i<5;i++){
printf("%4d",a[i]);}2、数组名首地址法(指针法):指针...
分类:
其他好文 时间:
2014-05-11 00:35:46
阅读次数:
351