基于上一篇文章http://blog.csdn.net/simonchi/article/details/42520193 相对比较细致的分析后,该文章将对LoadBalancingSinkProcessor源码进行选择性的重要逻辑代码进行讲解
首先读取配置,当然是重写congifure方法
public void configure(Context context) {
Preco...
分类:
数据库 时间:
2015-01-12 17:36:36
阅读次数:
239
获取 rsync-3.1.0 我的网盘里放了一个 。地址:
http://pan.baidu.com/s/1dDs4lSt
安装
rsync-3.1.0.tar.gz
#tar zxvf rsync-3.1.0.tar.gz
#cd rsync-3.1.0
#./configure --prefix=/home/work/rsync
#make
#make ins...
分类:
系统相关 时间:
2015-01-12 10:57:28
阅读次数:
144
今日编译apache时出错:#./configure --prefix……检查编辑环境时出现:checking for APR... noconfigure: error:APR not found. Please read the documentation解决办法:1.下载所需软件包:wgeth...
分类:
Web程序 时间:
2015-01-12 10:37:20
阅读次数:
154
??
Linux内存越界检测方法——valgrind
一.Valgrind
1.下载安装
下载地址:http://valgrind.org/downloads/current.html#current
#configure
#make
#make install
2.使用
2.1内在越界
写一段有内存访问越界的代码,如下:
#include
#include ...
分类:
系统相关 时间:
2015-01-12 09:17:33
阅读次数:
468
configure C development and debug environment
VC 6.0 on Windows 8.1
分类:
其他好文 时间:
2015-01-12 01:31:50
阅读次数:
228
把自己在网易博客的文章迁移过来cd /lamp/httpd-2.2.9./configure --prefix=/usr/local/apache2/--sysconfdir=/usr/local/apache2/etc/ --with-included-apr --enable-dav--enab...
分类:
Web程序 时间:
2015-01-11 22:49:57
阅读次数:
242
1. nginx安装 pcre-8.36.tar.gz nginx-1.7.9.tar.gz tar -xzvfpcre-8.36.tar.gz tar -xzvfnginx-1.7.9.tar.gz cdnginx-1.7.9 ./configure --prefix=/home/us...
分类:
Web程序 时间:
2015-01-11 17:42:52
阅读次数:
173
Step: Configure GitOnce it is installed, open terminal (aka Bash, aka Shell, aka Prompt). You can verify that it's really there by typing:$ git --vers...
分类:
其他好文 时间:
2015-01-11 16:00:07
阅读次数:
337
下面是Memcached的安装过程:#wget http://memcached.googlecode.com/files/memcached-1.4.9.tar.gz# tar zvxf memcached-1.4.9.tar.gz# cd memcached-1.4.9# ./configure...
分类:
Web程序 时间:
2015-01-11 14:45:27
阅读次数:
187
wgethttp://syslab.comsenz.com/downloads/linux/httpd-2.2.16.tar.gztar zvxf httpd-2.2.16.tar.gzcd httpd-2.2.16./configure --prefix=/usr/local/apache2 --...
分类:
Web程序 时间:
2015-01-10 16:20:35
阅读次数:
128