spring
南来北往的客
是对还是错,问询南来北往的客。
展开
-
spring自带定时器
1、修改spring配置文件applicationContext.xml: xmlns:task="http://www.springframework.org/schema/task" xsi:schemaLocation=“http://www.springframework.org/schema/task http://www.springfr原创 2016-04-06 14:11:07 · 427 阅读 · 0 评论 -
spring的stopWatch用法,监控耗时。
stopWatch.start("操作开始1"); /* 此处写业务逻辑代码 */ stopWatch.stop(); stopWatch.start("操作开始2"); /* 此处写业务逻辑代码 */ stopWatch.stop(); //全部打印输出 stopWatch.prettyPrint(); ...原创 2019-07-16 14:49:48 · 2126 阅读 · 0 评论