数据源1 数据源2 注:xx1Mapper.java 和 xx1Mapper.xml 、 xx2Mapper.java 和 xx2Mapper.xml 上下文中不能出现同名的 结果:操作db1 调用 mapper1 ,操作db2 调用 mapper2 ...
分类:
数据库技术 时间:
2016-08-06 08:36:05
收藏:
0 评论:
0 赞:
0 阅读:
278
BrokerStartup.java MixAll.java 由资源文件生成对象: 首先获取资源文件 获取对象的所有set开头的方法 截取方法,如:setMethod1 则为 method1 通过key获取properties文件value 获取该方法参数类型 调用该方法。 从而完成set 。 ...
分类:
其他 时间:
2016-08-06 08:35:58
收藏:
0 评论:
0 赞:
0 阅读:
384
...
分类:
其他 时间:
2016-08-06 08:35:35
收藏:
0 评论:
0 赞:
0 阅读:
229
Activates various annotations to be detected in bean classes: Spring's @Required and @Autowired, as well as JSR 250's @PostConstruct, @PreDestroy and ...
分类:
其他 时间:
2016-08-06 08:35:29
收藏:
0 评论:
0 赞:
0 阅读:
393
http://www.w3school.com.cn/jsref/jsref_obj_regexp.asp/^[0-9a-zA-Z]*$/g ...
分类:
其他 时间:
2016-08-06 08:35:15
收藏:
0 评论:
0 赞:
0 阅读:
237
Activates replacement of ${...} placeholders by registering a PropertySourcesPlaceholderConfigurer within the application context. Properties will be ...
分类:
其他 时间:
2016-08-06 08:35:05
收藏:
0 评论:
0 赞:
0 阅读:
272
1. jps 获取要监控broker jvm 的进程ID jsp 2. nohup 输出监控日志 nohup jstat -gc -t [pid] [interval] -t 会在每一条记录前加时间戳,执行命令间隔interval(毫秒) 3. 想要结束监控时Ctrl+C 4. 查看日志 cat n ...
分类:
其他 时间:
2016-08-06 08:34:56
收藏:
0 评论:
0 赞:
0 阅读:
232
Spring Bean Configuration File 命名空间 xmlns:context="http://www.springframework.org/schema/context" 语法 http://www.springframework.org/schema/context htt ...
分类:
其他 时间:
2016-08-06 08:34:45
收藏:
0 评论:
0 赞:
0 阅读:
240
High availability is a characteristic of a system, which describes the duration (length of time) for which the system is operational. HAService.java 即 ...
分类:
其他 时间:
2016-08-06 08:34:36
收藏:
0 评论:
0 赞:
0 阅读:
368
22 a b-s sh mqbroker -c $ROCKETMQ_HOME/conf/2m-2s-async/broker-a.properties &sh mqbroker -c $ROCKETMQ_HOME/conf/2m-2s-async/broker-b-s.properties & 23 ...
分类:
其他 时间:
2016-08-06 08:34:25
收藏:
0 评论:
0 赞:
0 阅读:
295
代码片段 ...
分类:
其他 时间:
2016-08-06 08:34:16
收藏:
0 评论:
0 赞:
0 阅读:
5970
case: runbroker.sh JAVA_OPT 使用的是默认参数,broker运行过程中新生代垃圾回收次数较少,频繁出现老生代垃圾回收 cms gc ,并且老生代内存回收不掉。造成卡顿、消息发送失败。最终导致java heap 被占用完,broker 宕机。求教! 内存分析: broker瘫 ...
分类:
其他 时间:
2016-08-06 08:34:05
收藏:
0 评论:
0 赞:
0 阅读:
567
Scans the classpath for annotated components that will be auto-registered as Spring beans. By default, the Spring-provided @Component, @Repository, @S ...
分类:
其他 时间:
2016-08-06 08:33:55
收藏:
0 评论:
0 赞:
0 阅读:
489
入口 最后发现 java.util.regex.Pattern 调用matches() 方法 从而得知 支持正则表达式。 总结: 冒号分析 /** * A {@link ResourcePatternResolver} implementation that is able to resolve a ...
分类:
其他 时间:
2016-08-06 08:33:45
收藏:
0 评论:
0 赞:
0 阅读:
343
...
分类:
Web开发 时间:
2016-08-06 08:33:17
收藏:
0 评论:
0 赞:
0 阅读:
245
实测代码: 打印结果: 格式化结果: 实际项目应用见:SMSE 为 easyui-tree ...
分类:
其他 时间:
2016-08-06 08:33:07
收藏:
0 评论:
0 赞:
0 阅读:
280
1. 这是一个过滤器代理 <filter-name>shiroFilter</filter-name> 的值会传递给 targetBeanName , targetBeanName = "shiroFilter"; shiroFilter 是由Spring管理的bean,并实现了Filter 接口。 ...
分类:
其他 时间:
2016-08-06 08:33:00
收藏:
0 评论:
0 赞:
0 阅读:
291
请不要监控10912端口 case: result: 监控10912端口会导致HAService异常,新起线程,吃掉内存,无限次监控虚拟机将宕机! 时间上是直接因果关系. 监控10911 和 9876 没有问题. MessageStoreConfig.java ...
分类:
其他 时间:
2016-08-06 08:32:46
收藏:
0 评论:
0 赞:
0 阅读:
551
border-spacing 1. 可用,需设置在table标签上或者display为table、inline-table的元素。 必须有border-collapse属性时,才起作用。 如果单元格不分离,怎么来的单元格之间的距离啊。 border-spacing:10px 30px; 表示单元格水 ...
分类:
其他 时间:
2016-08-06 08:32:37
收藏:
0 评论:
0 赞:
0 阅读:
260
http://www.springframework.org/schema/beans/spring-beans.xsd org.springframework.beans.factory.config.BeanDefinition 什么是bean Defines a single (usually ...
分类:
其他 时间:
2016-08-06 08:32:25
收藏:
0 评论:
0 赞:
0 阅读:
1043