09 2020 档案
摘要:日志实体 @Data public class ServiceLog implements Serializable { /** * 创建时间 */ private String createTime; /** * 方法名 */ private String method; /** * 参数 */
阅读全文
摘要:https://zhuanlan.zhihu.com/p/112199694 http://www.3h3.com/soft/135596.html
阅读全文
摘要:一:基础模型 二:源码阅读 spring创建对象三部曲:( doCreateBean ) 1.实例化对象:也就是new 一个对象 通过三级缓存来解决循环依赖 2.填充属性: 3.初始化 缓存理解: 一级缓存:singletonobjects 三部曲后加入到缓存里(我们直接用的) 二级缓存:earyl
阅读全文
摘要:1.饿汉模式:线程安全 public class HungryManSingleton { private static final HungryManSingleton instance = new HungryManSingleton(); private HungryManSingleton(
阅读全文
摘要:第一步:pom.xml 第二步:application.properties配置数据源 #数据源 spring.datasource.url=jdbc:mysql://localhost:3306/mybatis-demo?useUnicode=true&characterEncoding=utf-
阅读全文
摘要:https://tool.oschina.net/apidocs/apidoc?api=jdk-zh
阅读全文
摘要:Objects.nonNull(answers)找了半天
阅读全文