conn = dataSource.getConnection(); // 时间点T1 // T1 至 T2 这段时间,该连接为活跃连接 conn.close(); // 时间点T2 // 时间点T2 之后,连接被连接池回收,如果此时idle连接超过maxIdle ,则会释放连接 case: ...
分类:
其他好文 时间:
2016-08-06 08:31:05
阅读次数:
154
需要引入 easyui-lang-zh_CN.js 效果图 ...
分类:
其他好文 时间:
2016-08-06 08:31:36
阅读次数:
2056
If you're using JDBC-Jobstore, you will need a DataSource for its use. It is recommended that your DataSource max connection size be configured to be ...
分类:
其他好文 时间:
2016-08-06 08:28:51
阅读次数:
314
pom.xml Test.java 控制台打印: ...
分类:
其他好文 时间:
2016-08-06 08:29:32
阅读次数:
128
jsp 编码方式: tomcat 编码方式: 原因: 编码不一致导致。 依据: This specifies the character encoding used to decode the URI bytes, after %xx decoding the URL. If not specifi ...
分类:
其他好文 时间:
2016-08-06 08:28:52
阅读次数:
245
driver default The default auto-commit state of connections created by this pool. If not set then the setAutoCommit method will not be called. 如果不设置,则 ...
分类:
其他好文 时间:
2016-08-06 08:29:33
阅读次数:
229
task:scheduled org.springframework.scheduling.support.CronSequenceGenerator.parse cron="* * * * * *" 1. 只能有6个域 2. 域之间通过空格拆分 3. 六个域分别是: seconds 0-59 mi ...
分类:
其他好文 时间:
2016-08-06 08:26:44
阅读次数:
581
? ? 一、准备 1. 获取最新jar包 2. 获取xml dtd <?xml version="1.0" encoding="UTF-8"?> <!-- Licensed under the Apache License, Version 2.0 (the "License"); you may ...
分类:
其他好文 时间:
2016-08-06 08:28:18
阅读次数:
1443
help ulimit help ulimit ulimit: ulimit [-SHacdefilmnpqrstuvx] [limit] Modify shell resource limits. Provides control over the resources available to t ...
分类:
其他好文 时间:
2016-08-06 08:24:46
阅读次数:
142
命名空间 xmlns:util="http://www.springframework.org/schema/util" 语法 http://www.springframework.org/schema/util http://www.springframework.org/schema/util/ ...
分类:
其他好文 时间:
2016-08-06 08:27:11
阅读次数:
134
就可以专心接受ERROR 错误信息了,然后生成相应的文件或发邮件,供查询。 意为:这个appender 接受哪个级别的event ...
分类:
其他好文 时间:
2016-08-06 08:27:22
阅读次数:
125
关键代码片段 1. 循环几次发送几次 2. selectOneMessageQueue 返回与上一个broker不同名的broker 3. timesTotal 是brokersSent 数组 4. 某broker发送失败时,如果想要重试其他broker,需要把retryAnotherBrokerW ...
分类:
其他好文 时间:
2016-08-06 08:25:40
阅读次数:
910
Failure consumption,later try to consume. MessageExt [queueId=0, storeSize=134, queueOffset=2, sysFlag=0, bornTimestamp=1442224189878, bornHost=/172.1 ...
分类:
其他好文 时间:
2016-08-06 08:23:39
阅读次数:
384
1.1. 控制台使用 RocketMQ 提供有控制台及一系列控制台命令,用于管理员对主题,集群,broker 等信息的管理 登录控制台 首先进入RocketMQ 工程,进入/RocketMQ/bin 在该目录下有个mqadmin 脚本 查看帮助 在mqadmin 下可以查看有哪些命令 sh mqad ...
分类:
其他好文 时间:
2016-08-06 08:24:07
阅读次数:
4635
runbroker.sh -server By default, all client applications run in -client mode, while the directory server and certain server utilities run in -server m ...
分类:
其他好文 时间:
2016-08-06 08:24:14
阅读次数:
2150