上一页 1 ··· 279 280 281 282 283 284 285 286 287 ··· 785 下一页
摘要: http://wiki.apache.org/HttpComponents/FrequentlyAskedConnectionManagementQuestions 1. Connections in TIME_WAIT State After running your HTTP applicati 阅读全文
posted @ 2016-08-14 11:43 沧海一滴 阅读(1158) 评论(0) 推荐(0)
摘要: MyBatis 的配置文件包含了影响 MyBatis 行为甚深的设置(settings)和属性(properties)信息。文档的顶层结构如下: configuration 配置 properties 属性 settings 设置 typeAliases 类型命名 typeHandlers 类型处理 阅读全文
posted @ 2016-08-14 11:41 沧海一滴 阅读(7080) 评论(1) 推荐(0)
摘要: 先总结一个原则:mytatis的连接池最大值poolMaximumActiveConnections尽量跟服务器的并发访问量持平以至于大于并发访问量。 原因:在org.apache.ibatis.datasource.pooled.PooledDataSource中,popConnection函数( 阅读全文
posted @ 2016-08-14 10:24 沧海一滴 阅读(17505) 评论(2) 推荐(0)
摘要: Calendar中add()和roll()函数的用法一、取某个时间点后的整点时刻。例如1984年7月7日15:23:05后的整点时刻即为1984-07-07 16:00:00。实现如下:Calendar calendar = Calendar.getInstance();calendar.add(C 阅读全文
posted @ 2016-08-13 14:07 沧海一滴 阅读(2299) 评论(0) 推荐(0)
摘要: The difference between scheduleAtFixedRate and scheduleWithFixedDelay in JAVA Recently, due to the project needs, I have to use multithread technology 阅读全文
posted @ 2016-08-13 13:30 沧海一滴 阅读(710) 评论(0) 推荐(0)
上一页 1 ··· 279 280 281 282 283 284 285 286 287 ··· 785 下一页