React Navigation 4x 与 React Navigation 5x混用造成的报错, 4x版本包:react-navigation, react-navigation-stack, react-navigation-drawer 5x版本包:@react-navigation/nati ...
分类:
其他好文 时间:
2020-03-30 00:26:30
阅读次数:
470
分析例子 启动类 Application,使用的是ClassPathXmlApplicationContext来加载xml文件 Bean 配置文件 ? 在resources下建立名为classpath:application_context.xml的配置文件,并配置好Bean 总体结构 ? Clas ...
分类:
编程语言 时间:
2020-03-30 00:22:08
阅读次数:
92
"使用" "ioc初始化过程注册代理类生成器,加载相关advisor到容器中" "getBean时通过BeanPostProcessor回调生成代理类" "通过代理类调用方法的流程" top 使用 事务的四个特性 1、原子性 2、一致性 原子性和一致性紧密联系,区别是什么? 举例:A给B转100块钱 ...
分类:
编程语言 时间:
2020-03-29 22:45:24
阅读次数:
94
1.简单工厂模式(Simple Factory Pattern) 一个工厂生产所有的产品,根据输入参数决定产品的种类。 #include "Factory.h" #include "ProductA.h" #include "ProductB.h" Product* Factory::createP ...
分类:
编程语言 时间:
2020-03-29 22:39:39
阅读次数:
105
“小明,多系统的session共享,怎么处理?”“Redis缓存啊!” “小明,我想实现一个简单的消息队列?”“Redis缓存啊!” “小明,分布式锁这玩意有什么方案?”“Redis缓存啊!” “小明,公司系统响应如蜗牛,咋整?”“Redis缓存啊!” 本着研究的精神,我们来分析下小明的第四个问题。 ...
分类:
编程语言 时间:
2020-03-29 18:14:40
阅读次数:
103
快速生成大量数据 INSERT INTO tableName1(pn_code,belong_id,factory_number) SELECT pn_code,belong_id,factory_number FROM tableName1 四张表合计4000万条数据, 如果不带where,联查的 ...
分类:
数据库 时间:
2020-03-29 14:16:09
阅读次数:
108
电商 市场 2013:79万笔/分钟 2014:13.4万亿,双11支付宝交易峰值285万笔/分钟 2015:50万亿 技术特点 一个Tomcat:500并发 分布式:上万并发 高并发、集群、负载均衡、高可用(冗余) 海量数据 业务复杂 系统安全:记录日志 架构 Lamp:linux apache ...
分类:
其他好文 时间:
2020-03-29 10:25:47
阅读次数:
73
1 An Integrated Industrial Ethernet Solution for the Implementation of Smart Factory 在本文中,我们的目标是为智能工厂提供一个网络解决方案。我们的动机是建立一个平面网络拓扑,同时满足不同参与者和层在带宽、可靠性、实时 ...
分类:
其他好文 时间:
2020-03-28 20:02:04
阅读次数:
174
artifactory.get_latest_snapshot Gets latest snapshot of the given artifact artifactory_url URL of artifactory instance repository Snapshot repository ...
分类:
其他好文 时间:
2020-03-28 19:43:15
阅读次数:
78
6个创建型设计模式 工厂方法模式 Factory Method Pattern 【学习难度:★★☆☆☆,使用频率:★★★★★】 抽象工厂模式 Abstract Factory Pattern 【学习难度:★★★★☆,使用频率:★★★★★】 单例模式 Singleton Pattern【学习难度:★☆ ...
分类:
其他好文 时间:
2020-03-28 13:33:34
阅读次数:
73