摘要: callablehttp://eyesmore.iteye.com/blog/243648#http://blog.csdn.net/com360/article/details/6796722http://www.cnblogs.com/uptownBoy/articles/1772483.htmlexecutorservicehttp://www.itzhai.com/the-executorservice-common-method-newfixedthreadpool-of-create-fixed-size-thread-pool.htmlhttp://blog.sina.com.c 阅读全文
posted @ 2012-11-25 22:53 vigarbuaa 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 最近用到了ehcache,根据从网上搜集的资料,调试了一个小例子,顺带做了性能测试。cache的效率的确很高,较sql直接查询性能上升近8000倍。第一步:先在mysql环境中建好TEST,CREATE TABLE TEST ( TEST_ID bigint(20) , TEST_NAME varchar(50), TEST_TIME timestamp default CURRENT_TIMESTAMP, TEST_VALUE decimal(10,3) )表结构如下mysql> describe TEST;... 阅读全文
posted @ 2012-11-25 22:52 vigarbuaa 阅读(2691) 评论(0) 推荐(0) 编辑