/*页首的跳转连接,*/
摘要: 总结一下我使用过的4种类型的定时器:@Scheduled注解、quartz、new Timer().schedule、使用线程控制。 1.@Scheduled注解 @Scheduled注解是最简单的方式,只需要启用定时器,在方法上添加注解即可。 在spring配置中加入: <!-- 启用注解定时器 阅读全文
posted @ 2020-04-28 17:54 奇奇锋 阅读(1089) 评论(0) 推荐(0) 编辑
摘要: 1.介绍Fastjson Fastjson是一个Java语言编写的JSON处理器。 如果获得Fastjson?https://github.com/alibaba/fastjson 2.使用Fastjson Json互转List<T> 比如说List<Strudent> List转Json List 阅读全文
posted @ 2020-04-28 17:49 奇奇锋 阅读(411) 评论(0) 推荐(0) 编辑
/* 看板娘 */