- 博客(7)
- 资源 (18)
- 收藏
- 关注
原创 centos 查看机器硬件配置
1 CPUmore /proc/cpuinfo可以找出 model name, CPU cores等信息;2 Memoryfree -m直接查看total部分知道时间可用的物理内存大小;3 Diskdf -h 查看各挂载分区的大小和位置,自己统计大小;
2016-07-28 15:11:42 19614 1
原创 查看linux系统环境
1. 查看内核版本命令:chen@mylinuxserver:~> cat /proc/versionLinux version 2.6.5-7.244-smp (geeko@buildhost) (gcc version 3.3.3 (SuSE Linux)) #1 SMP Mon Dec 12 18:32:25 UTC 2005/proc 目录的作用?chen@myli
2016-07-22 15:50:29 3072
转载 Cassandra简介
学习Cassandra时碰到的一篇写得很好的文章,摘录下来。原文出处:http://www.cnblogs.com/loveis715/p/5299495.html 接触Cassandra的原因与接触Neo4J的原因相同:我们的产品需要能够记录一系列关系型数据库所无法快速处理的大量数据。Cassandra,以及后面将要介绍的MongoDB,都是我们在技术选型过程中的一
2016-07-20 15:06:15 1434
原创 Cassandra driver 入门教程 (二) 异步调用连接数据库
1 第一步 获取Cluster对象Cluster cluster = Cluster.builder().addContactPoint("127.0.0.1").build();2 第二步 获得ListenableFuture的SessionListenableFuture session = cluster.connectAsync();3 第三步 执行异步查询
2016-07-19 17:25:59 2218
原创 Cassandra driver 入门教程 (一) 连接数据库,获取版本号
1 建立Cluster对象Cluster cluster = Cluster.builder().addContactPoint("127.0.0.1").build();2 获得SessionSession session = cluster.connect();3 执行查询session.execute("select release_version from System
2016-07-19 17:14:57 3937
原创 DelayQueue 学习和应用
DelayQueue的实现原理DelayQueue的本质是一个实现了针对元素为Delayed的PriorityQueue, 它里面比较出彩的地方就是使用了Leader/Follower 模式,来减少线程为是否过期轮询,这样提高了系统效率。public interface Delayed extends Comparable { /** * Returns the rem
2016-07-01 17:32:40 2029
原创 Java PhantomJs下载网页
1 下载PhantomJS国外的网站下载比较慢,推荐使用淘宝镜像下载,地址:http://npm.taobao.org/dist/phantomjs/2 下载PhantomJSDriver这里使用maven来直接依赖: com.codeborne phantomjsdriv
2016-07-01 14:09:48 2854
HelloWorld WebService Server
2012-11-01
Extjs exporter
2012-08-17
FlashPaper2.2 绿色版
2012-07-10
Android应用开发详解.pdf
2012-05-28
深入浅出EXTJS第2版.pdf part3(共三部分)
2011-12-08
深入浅出EXTJS第2版.pdf part1(共三部分)
2011-12-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人