摘要: Executor 英文意思是执行者,可以看出它的作用是提交和执行任务接口,也可以理解为是线程池。 Executor 有一个子接口 ExecutorService,ExecutorService 可以管理和终止任务的方法,可以追踪异步任务的进度的 Executor。 Executors 是线程池的工厂 阅读全文
posted @ 2020-01-03 09:13 ConstXiong 阅读(803) 评论(0) 推荐(0) 编辑
摘要: spring boot 基于 spring 框架的快速开发整合包。 至于为什么要用,先看下官方解释 好处: 编码变得简单 配置变得简单 部署变得简单 监控变得简单 原文链接 Java 自学经历 Java 面试题 H5 Java 面试题小程序 阅读全文
posted @ 2020-01-03 09:09 ConstXiong 阅读(430) 评论(0) 推荐(0) 编辑
摘要: Spring Boot 有两种类型的配置文件,application 和 bootstrap 文件 Spring Boot会自动加载classpath目前下的这两个文件,文件格式为 properties 或 yml 格式 *.properties 文件是 key=value 的形式 *.yml 是 阅读全文
posted @ 2020-01-03 09:09 ConstXiong 阅读(3228) 评论(0) 推荐(0) 编辑