2021年1月30日

SpringBoot加载配置文件的顺序

摘要: 配置文件路径的优先级:我们从属性:DEFAULT_SEARCH_LOCATIONS = "classpath:/,classpath:/config/,file:./,file:./config/可以看出文件路径的先后顺序(注意:后加载的会覆盖先加载的): classpath:/classpath: 阅读全文

posted @ 2021-01-30 20:57 MaXianZhe 阅读(200) 评论(0) 推荐(0)

Redis值hash操作

摘要: 在使用set 设置string串的时候,value部分不用加引号,但是在操作除了string之外的类型时就得加了 阅读全文

posted @ 2021-01-30 19:50 MaXianZhe 阅读(76) 评论(0) 推荐(0)

直接内存是咋分配的

摘要: UnpooledDirectByteBuf protected UnpooledDirectByteBuf(ByteBufAllocator alloc, int initialCapacity, int maxCapacity) { super(maxCapacity); if (alloc == 阅读全文

posted @ 2021-01-30 16:43 MaXianZhe 阅读(71) 评论(0) 推荐(0)

导航