上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 26 下一页

2020年11月15日

ThreadLocal 源码阅读

摘要: 作者的类注释: This class provides thread-local variables. These variables differ from * their normal counterparts in that each thread that accesses one (via 阅读全文

posted @ 2020-11-15 13:49 滚动的蛋 阅读(112) 评论(0) 推荐(0)

2020年11月11日

HttpClient 调用示例

摘要: import com.alibaba.fastjson.JSON; import com.software.boot.common.entity.Response; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang.ti 阅读全文

posted @ 2020-11-11 10:26 滚动的蛋 阅读(200) 评论(0) 推荐(0)

2020年11月9日

AbstractRoutingDataSource -- Spring提供的轻量级数据源切换方式

摘要: AbstractRoutingDataSource -- Spring提供的轻量级数据源切换方式 阅读全文

posted @ 2020-11-09 14:02 滚动的蛋 阅读(89) 评论(0) 推荐(0)

ThreadLocal +拦截器 处理参数

摘要: 1、构建ThreadContext package com.ne.ice.boot.common; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.HashMap; import java.util. 阅读全文

posted @ 2020-11-09 11:06 滚动的蛋 阅读(298) 评论(0) 推荐(0)

Redis 分布式锁 解决集群环境下多次定时任务执行

摘要: 集群环境下,定时任务会并发执行,我能想到的解决方案又两个 1、使用分布式锁,拿到锁的执行,没拿到的直接结束 2、使用xxl-job 实现定时任务 阅读全文

posted @ 2020-11-09 10:59 滚动的蛋 阅读(308) 评论(0) 推荐(0)

2020年11月5日

10 Thought-Provoking Movies That Will Make You Think Differently

摘要: These ten thought-provoking movies ask the big questions about who we are, what life is, and how we should live and love. In a quest to understand the 阅读全文

posted @ 2020-11-05 17:52 滚动的蛋 阅读(572) 评论(0) 推荐(0)

枚举的处理,MybaitsPlus+JackSon

摘要: 通过注解实现枚举的自动转化: import com.baomidou.mybatisplus.annotation.EnumValue; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson. 阅读全文

posted @ 2020-11-05 17:42 滚动的蛋 阅读(329) 评论(0) 推荐(0)

SpringBoot JackSon全局配置

摘要: package com.nxe.business.bailian.bi.config; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonInclud 阅读全文

posted @ 2020-11-05 17:35 滚动的蛋 阅读(2767) 评论(0) 推荐(1)

2020年10月28日

SQL查询数据库中所有表名

摘要: SELECT table_name,table_type,table_schema FROM information_schema.TABLES WHERE table_schema = 'security_domain' AND table_type = 'BASE TABLE'; NOTE: T 阅读全文

posted @ 2020-10-28 15:11 滚动的蛋 阅读(1470) 评论(0) 推荐(0)

2020年10月21日

Feign url配置/注解

摘要: /** * @author : Yungui.zheng * @version : 1.0 * @Describe : _Client层 * @since : 2020-10-05 20:00:21 */ @FeignClient(name = DemoConstant.BU5_CMS_SERVIC 阅读全文

posted @ 2020-10-21 10:05 滚动的蛋 阅读(4001) 评论(0) 推荐(0)

上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 26 下一页

导航