自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (1)
  • 收藏
  • 关注

原创 Dubbo源码:AbortPolicyWithReport

AbortPolicyWithReportdubbo搞了拒绝策略AbortPolicyWithReport、线程池EagerThreadPoolExecutor、线程工厂NameThreadFactory、任务队列TaskQueue、线程服务ExecuteService-ThreadlessExecutor,需要学会这些自定义的用法。AbortPolicyWithReport在原来支持的AbortPolicy(该拒绝策略是默认的,策略是抛异常)基础上加了WithReport功能(打日志+dump线程堆

2021-03-15 11:32:12 535

原创 dubbo源码解析:config-spring——ServiceClassPostProcessor

ServiceClassPostProcessorServiceClassPostProcessorpostProcessBeanDefinitionRegistryServiceClassPostProcessor implements BeanDefinitionRegistryPostProcessor,实现该接口的两个方法,postProcessBeanFactory方法空实现,关键看postProcessBeanDefinitionRegistry,这个方法的作用是注册更多的bean到spr

2021-03-14 15:14:50 524

原创 dubbo源码解析:Config-Spring—— ServiceBeanNameBuilder

ServiceBeanNameBuilder用以构建 ServcieBean 的 name,一个常见的建造者模式。ServcieBean 的 name主要有interfaceClassName、version、group组成,interfaceClassName是必有,后两者可选,比如"ServiceBean:org.com.Demo:1.0.0:lala"该类含有的属性如下:private static final String SEPARATOR = ":";// Requiredprivat

2021-03-14 00:59:20 208 1

原创 dubbo源码解析:Config-Spring——AnnotationPropertyValuesAdapter

AnnotationPropertyValuesAdapterAnnotationPropertyValuesAdapter该类实现PropertyValues接口,这个接口主要是存放一个Bean的属性值集合,就可以理解为一个map。内部有一个PropertyValues delegate属性。有三个重载的构造函数。说一下参数最全的两个构造函数public AnnotationPropertyValuesAdapter(Annotation annotation, PropertyResolver

2021-03-14 00:16:35 139

chrome.dll.sig

chrome.dll.sig

2018-04-19

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除