码迷,mamicode.com
首页 >  
搜索关键字:abstract factory    ( 8461个结果
第三节:装饰者模式在JDK中的应用
装饰者模式在 JDK 应用的源码分析 Java 的 IO 结构,FilterInputStream 就是一个装饰者: public abstract class InputStream implements Closeable{} 是一个抽象类,即Component public class Fil ...
分类:其他好文   时间:2021-01-25 11:36:43    阅读次数:0
【sprinb-boot】@ComponentScan 跳过扫描 excludeFilters
@ComponentScan(excludeFilters = @ComponentScan.Filter(type = FilterType.ANNOTATION, classes = {Controller.class, RestController.class})) 前言 springboot ...
分类:其他好文   时间:2021-01-22 12:28:51    阅读次数:0
Dump文件分析(转发)
原文: Dump文件分析 本文主要介绍Dump文件结构,理解Dump文件对于分析线程高占用、死锁、内存溢出等高级问题有非常重要的指导意义。 什么是Dump文件 Dump文件是进程的内存镜像。可以把程序的执行状态通过调试器保存到dump文件中。Dump文件是用来给程序编写人员调试程序用的,这种文件必须 ...
分类:其他好文   时间:2021-01-19 12:10:17    阅读次数:0
设计模式目录
Creational Patterns Factory Method : Factory Method Abstract Factory : Abstract Factory Builder : Builder Prototype : Prototype Singleton : Singleton ...
分类:其他好文   时间:2021-01-18 11:35:19    阅读次数:0
脚本模块化能用代码
(function (root, factory) { if (typeof define 'function' && define.amd) { // AMD. Register as an anonymous module. define([], factory); } else if (typ ...
分类:其他好文   时间:2021-01-14 11:31:13    阅读次数:0
Java HashMap 源码研究
Jdk 8 的hashmap ,内部使用Node 表示数组成员,Node 实现了Map.Entry接口。 put() 过程: 1 public class HashMap<K,V> extends AbstractMap<K,V>implements Map<K,V>, Cloneable, Ser ...
分类:编程语言   时间:2021-01-14 11:29:05    阅读次数:0
SpringCloud 和 SpringBoot 和Spring Cloud alibaba 版本冲突 导致 服务发现 服务注册 服务调用时报错
一丶错误一 一丶错误信息 org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'memberController': Unsatisfied dependenc ...
分类:编程语言   时间:2021-01-13 11:12:42    阅读次数:0
No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalancer
1,错误信息 org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'memberController': Unsatisfied dependency expr ...
分类:数据库   时间:2021-01-13 11:09:07    阅读次数:0
Ribbon 负载均衡自定义算法
自定义负载均衡 IRule接口介绍 com.netflix.loadbalancer.IRule 是自定义负载均衡的算法实现类 源码 /** * Interface that defines a "Rule" for a LoadBalancer. A Rule can be thought of ...
分类:编程语言   时间:2021-01-12 11:20:12    阅读次数:0
设计模式:工厂方法模式
设计模式:工厂方法模式 定义 工厂方法模式(Factory Method Pattern)又称为工厂模式,又称工厂模式、多态工厂模式和虚拟构造器模式,它属于类创建型模式。在工厂方法模式中,工厂父类负责定义创建产品对象的公共接口,而工厂子类则负责生成具体的产品对象,这样做的目的是将产品类的实例化操作延 ...
分类:其他好文   时间:2021-01-12 11:19:33    阅读次数:0
8461条   上一页 1 ... 7 8 9 10 11 ... 847 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!