03 2021 档案

摘要:转载:https://blog.csdn.net/hustcqb/article/details/12276963 阅读全文
posted @ 2021-03-31 14:03 路要一步一步走 阅读(29) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/hlc246/article/details/81064951 阅读全文
posted @ 2021-03-31 11:21 路要一步一步走 阅读(29) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/weixin_37766296/article/details/80027299 阅读全文
posted @ 2021-03-31 10:42 路要一步一步走 阅读(112) 评论(0) 推荐(0) 编辑
摘要:转载:https://baimafujinji.blog.csdn.net/article/details/89810217 阅读全文
posted @ 2021-03-30 13:18 路要一步一步走 阅读(297) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/weixin_41563161/article/details/106089207 阅读全文
posted @ 2021-03-30 11:14 路要一步一步走 阅读(61) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/weixin_44299027/article/details/104516280 阅读全文
posted @ 2021-03-29 15:44 路要一步一步走 阅读(558) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/aq_112700/article/details/105111419 阅读全文
posted @ 2021-03-29 15:28 路要一步一步走 阅读(134) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/bingzhijisi/article/details/87256232 阅读全文
posted @ 2021-03-29 15:12 路要一步一步走 阅读(20) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.jianshu.com/p/aa0b21edd181 阅读全文
posted @ 2021-03-29 13:56 路要一步一步走 阅读(48) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/qq_32250495/article/details/82723705 阅读全文
posted @ 2021-03-29 13:15 路要一步一步走 阅读(74) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/df0128/article/details/83243822 http://blog.sina.com.cn/s/blog_696665040102yb84.html 阅读全文
posted @ 2021-03-29 13:13 路要一步一步走 阅读(133) 评论(0) 推荐(0) 编辑
摘要:转载: https://www.jianshu.com/p/ea666baf0d82 阅读全文
posted @ 2021-03-29 12:31 路要一步一步走 阅读(31) 评论(0) 推荐(0) 编辑
摘要:为什么要复制数据库? 简单来说有以下几个用处: 1. 读写分离 通过MySQL复制可以实现读写分离,将读操作分布到多个不同的服务器上,减轻服务器的压力。 2. 备份 从库可以作为数据的异地实时备份。 3. 故障切换 当主库遇到故障,系统可以切换到从库,实现故障切换。 4. 升级测试 从库可作为测试服 阅读全文
posted @ 2021-03-29 12:30 路要一步一步走 阅读(1698) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.w3cschool.cn/jpaspec/ 阅读全文
posted @ 2021-03-29 11:14 路要一步一步走 阅读(56) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/leo187/article/details/107750192 阅读全文
posted @ 2021-03-29 09:46 路要一步一步走 阅读(197) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/qq_44956751/article/details/108281186 阅读全文
posted @ 2021-03-29 08:35 路要一步一步走 阅读(592) 评论(0) 推荐(0) 编辑
摘要:链接:https://www.jianshu.com/p/4eb9415f0a5d 前提:已配置SonarQube环境 一、简介 Jacoco是一个开源的Java代码覆盖率工具,可以嵌入到maven、ant中。 能帮助测试人员直观的了解测试覆盖情况。 二、生成代码覆盖率数据 方法一:在pom.xml 阅读全文
posted @ 2021-03-27 22:56 路要一步一步走 阅读(1643) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.jianshu.com/p/02b12c600c7b 阅读全文
posted @ 2021-03-26 16:23 路要一步一步走 阅读(133) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/u012834750/article/details/79388373 阅读全文
posted @ 2021-03-26 14:43 路要一步一步走 阅读(54) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/whatday/article/details/104475399 阅读全文
posted @ 2021-03-26 13:18 路要一步一步走 阅读(42) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/wangjian530/article/details/84452003 阅读全文
posted @ 2021-03-26 10:06 路要一步一步走 阅读(29) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/edward0830ly/article/details/7569954 阅读全文
posted @ 2021-03-25 18:02 路要一步一步走 阅读(8) 评论(0) 推荐(0) 编辑
摘要:1. 输入url到页面加载全过程(必考) DNS解析域名找到对应IP 通过IP找到对应服务器进行三次握手 服务器接收到信息返回对应文件 浏览器判断状态码开始处理 判断是否是压缩文件 解析html构建DOM树、CSSOM树、执行js文件 生成 Render 树,GPU 绘制,合成图层,将内容显示在屏幕 阅读全文
posted @ 2021-03-18 10:05 路要一步一步走 阅读(289) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/liqfyiyi/article/details/72771845 https://www.cnblogs.com/renolei/p/4673842.html 阅读全文
posted @ 2021-03-18 09:33 路要一步一步走 阅读(99) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.cnblogs.com/cyhbyw/p/8869855.html 阅读全文
posted @ 2021-03-18 09:03 路要一步一步走 阅读(23) 评论(0) 推荐(0) 编辑
摘要:mysql锁机制分为表级锁和行级锁,本文就和大家分享一下我对mysql中行级锁中的共享锁与排他锁进行分享交流。 共享锁又称为读锁,简称S锁,顾名思义,共享锁就是多个事务对于同一数据可以共享一把锁,都能访问到数据,但是只能读不能修改。 排他锁又称为写锁,简称X锁,顾名思义,排他锁就是不能与其他所并存, 阅读全文
posted @ 2021-03-17 12:11 路要一步一步走 阅读(129) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/u011106915/article/details/75361276?utm_source=blogxgwz8 https://blog.csdn.net/qq_42805101/article/details/107356116 阅读全文
posted @ 2021-03-17 09:35 路要一步一步走 阅读(134) 评论(0) 推荐(0) 编辑
摘要:问题:git中先commit再pull再push是否会在pull拉取git远程仓库的文件时将本地仓库新增的数据给覆盖掉。 答:git中向远程仓库中提交代码时一定要先pull再push,本地代码进行commit后,仓库不会将本地代码与远程仓库的代码进行比较,不会识别出是否存在代码冲突,必须进行pull 阅读全文
posted @ 2021-03-16 15:26 路要一步一步走 阅读(5813) 评论(0) 推荐(0) 编辑
摘要:当数据库中多个事务(Transaction)处理同一数据时,就会出现并发的问题,也就是需要解决数据库隔离性的问题(isolation)。 数据库的事务操作主要会碰到以下几类问题: 1.脏读:脏读指的是当前事务读到了其他事务未提交(uncommitted)的数据; 2.不可重复读:本处的不可重复指的是 阅读全文
posted @ 2021-03-16 15:01 路要一步一步走 阅读(226) 评论(0) 推荐(0) 编辑
摘要:事务具有4个特征,分别是原子性、一致性、隔离性和持久性,简称事务的ACID特性; 一、原子性(atomicity) 一个事务要么全部提交成功,要么全部失败回滚,不能只执行其中的一部分操作,这就是事务的原子性 二、一致性(consistency) 事务的执行不能破坏数据库数据的完整性和一致性,一个事务 阅读全文
posted @ 2021-03-16 13:07 路要一步一步走 阅读(544) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.cnblogs.com/liehen2046/p/11052666.html#autoid-0-0-0 阅读全文
posted @ 2021-03-16 11:39 路要一步一步走 阅读(112) 评论(0) 推荐(0) 编辑
摘要:转载:https://zhuanlan.zhihu.com/p/121084592 阅读全文
posted @ 2021-03-16 11:24 路要一步一步走 阅读(84) 评论(0) 推荐(0) 编辑
摘要:一、概述 InnoDB存储引擎 innodb存储引擎的mysql表提供了事务,回滚以及系统崩溃修复能力和多版本迸发控制的事务的安全。 innodb支持自增长列(auto_increment),自增长列的值不能为空,如果在使用的时候为空的话则会进行自动存现有的值开始增值,如果有但是比现在的还大,则就保 阅读全文
posted @ 2021-03-16 10:45 路要一步一步走 阅读(113) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/w892824196/article/details/88170746 阅读全文
posted @ 2021-03-16 10:42 路要一步一步走 阅读(47) 评论(0) 推荐(0) 编辑
摘要:顾名思义LinkedHashMap是比HashMap多了一个链表的结构。与HashMap相比LinkedHashMap维护的是一个具有双重链表的HashMap,LinkedHashMap支持2中排序一种是插入排序,一种是使用排序,最近使用的会移至尾部例如 M1 M2 M3M4,使用M3后为 M1 M 阅读全文
posted @ 2021-03-16 09:25 路要一步一步走 阅读(1017) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/qq_38258310/article/details/94468604 阅读全文
posted @ 2021-03-15 18:14 路要一步一步走 阅读(31) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/weixin_28760063/article/details/81266578 阅读全文
posted @ 2021-03-15 14:13 路要一步一步走 阅读(40) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/chenkangxian/article/details/84092846 阅读全文
posted @ 2021-03-15 11:46 路要一步一步走 阅读(37) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/ld3205/article/details/90640967 阅读全文
posted @ 2021-03-15 11:39 路要一步一步走 阅读(92) 评论(0) 推荐(0) 编辑
摘要:转:https://www.cnblogs.com/gudi/p/6403953.html 阅读全文
posted @ 2021-03-15 11:15 路要一步一步走 阅读(25) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/weixin_37690143/article/details/113039812 阅读全文
posted @ 2021-03-15 11:00 路要一步一步走 阅读(23) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.cnblogs.com/wuhenzhidu/p/anonymous.html 阅读全文
posted @ 2021-03-12 14:30 路要一步一步走 阅读(39) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.oschina.net/translate/jdk-10-local-variable-type-inference 阅读全文
posted @ 2021-03-12 14:26 路要一步一步走 阅读(26) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/why_still_confused/article/details/82351960 阅读全文
posted @ 2021-03-12 12:28 路要一步一步走 阅读(34) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/u013719012/article/details/79020766 阅读全文
posted @ 2021-03-12 12:14 路要一步一步走 阅读(99) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.jianshu.com/p/053a5ca89bbb https://blog.csdn.net/u013803262/article/details/77921861 阅读全文
posted @ 2021-03-12 11:25 路要一步一步走 阅读(26) 评论(0) 推荐(0) 编辑
摘要:.ignore文件的创建 1.使用eclipse中 ignore后在真实目录下就会生成对应的.ignore文件 2.window系统可以创建文件 .ignore. 来在项目的真实目录下创建 文件 特别说明: 配置在 .ignore文件中的文件是相对于真是目录来说的 在配置时请进入到 项目算在的 真实 阅读全文
posted @ 2021-03-12 11:17 路要一步一步走 阅读(258) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/lzb348110175/article/details/90297237 阅读全文
posted @ 2021-03-12 11:11 路要一步一步走 阅读(58) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.jb51.net/article/188348.htm 阅读全文
posted @ 2021-03-11 17:22 路要一步一步走 阅读(126) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/qq43748322/article/details/79228452 阅读全文
posted @ 2021-03-11 14:14 路要一步一步走 阅读(915) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.cnblogs.com/wxd0108/p/7597216.html https://zhidao.baidu.com/question/1930074324546654987.html 阅读全文
posted @ 2021-03-11 11:38 路要一步一步走 阅读(40) 评论(0) 推荐(0) 编辑
摘要:网络由下往上分为: 物理层 数据链路层 网络层 -- IP协议 传输层 -- TCP协议 会话层 -- 表示层和应用层 -- HTTP协议 1、TCP/IP连接 TCP传输控制协议,是一种提供可靠数据传输的通用协议 手机能够使用联网功能是因为手机底层实现了TCP/IP协议,可以使手机终端机通过无线网 阅读全文
posted @ 2021-03-11 11:29 路要一步一步走 阅读(151) 评论(0) 推荐(0) 编辑
摘要:单例bean的优势 由于不会每次都新创建新对象所以有一下几个性能上的优势。 1、减少了新生成实例的消耗 新生成实例消耗包括两方面,第一,spring会通过反射或者cglib来生成bean实例这都是耗性能的操作,其次给对象分配内存也会涉及复杂算法。 2、减少jvm垃圾回收 由于不会给每个请求都新生成b 阅读全文
posted @ 2021-03-11 10:24 路要一步一步走 阅读(459) 评论(0) 推荐(0) 编辑
摘要:1.工厂模式,这个很明显,在各种BeanFactory以及ApplicationContext创建中都用到了;2.模版模式,这个也很明显,在各种BeanFactory以及ApplicationContext实现中也都用到了;3.代理模式,在Aop实现中用到了JDK的动态代理;4.策略模式,第一个地方 阅读全文
posted @ 2021-03-11 10:19 路要一步一步走 阅读(380) 评论(0) 推荐(0) 编辑
摘要:Java NIO非堵塞应用通常适用用在I/O读写等方面,我们知道,系统运行的性能瓶颈通常在I/O读写,包括对端口和文件的操作上,过去,在打开一个I/O通道后,read()将一直等待在端口一边读取字节内容,如果没有内容进来,read()也是傻傻的等,这会影响我们程序继续做其他事情,那么改进做法就是开设 阅读全文
posted @ 2021-03-11 10:11 路要一步一步走 阅读(168) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/singwhatiwanna/article/details/104568025?utm_medium=distribute.pc_relevant.none-task-blog-baidujs_title-0&spm=1001.2101.3001. 阅读全文
posted @ 2021-03-11 09:51 路要一步一步走 阅读(75) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.dazhuanlan.com/2019/11/30/5de14b06398b8/ 阅读全文
posted @ 2021-03-10 12:18 路要一步一步走 阅读(99) 评论(0) 推荐(0) 编辑
摘要:集成方法请看上面的文档,集成后,可以继续阅读本页文档。 1. 继承通用的Mapper<T>,必须指定泛型<T> 例如下面的例子: public interface UserInfoMapper extends Mapper<UserInfo> { //其他必须手写的接口... } 一旦继承了Mapp 阅读全文
posted @ 2021-03-10 10:49 路要一步一步走 阅读(3829) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/coding1994/article/details/79597057 阅读全文
posted @ 2021-03-10 10:47 路要一步一步走 阅读(151) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/zhaizu/article/details/52573866 阅读全文
posted @ 2021-03-09 18:19 路要一步一步走 阅读(25) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.jianshu.com/p/b4522c9212fb 阅读全文
posted @ 2021-03-09 09:54 路要一步一步走 阅读(18) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/miranaibuai/article/details/107437326 阅读全文
posted @ 2021-03-09 09:22 路要一步一步走 阅读(499) 评论(0) 推荐(0) 编辑
摘要:转载:1. count(1) and count(*) 当表的数据量大些时,对表作分析之后,使用count(1)还要比使用count(*)用时多了! 从执行计划来看,count(1)和count(*)的效果是一样的。 但是在表做过分析之后,count(1)会比count(*)的用时少些(1w以内数据 阅读全文
posted @ 2021-03-09 09:12 路要一步一步走 阅读(408) 评论(0) 推荐(0) 编辑
摘要:1.BUG重现 这里我做了一个简单的试验,来验证utf8在mysql中存在的问题: 建立数据表: CREATE TABLE `user` ( `id` int(10) NOT NULL AUTO_INCREMENT COMMENT '自增id', `nickname` varchar(255) CH 阅读全文
posted @ 2021-03-09 08:58 路要一步一步走 阅读(129) 评论(0) 推荐(0) 编辑
摘要:转自:http://man-yutao.iteye.com/blog/1317446 ArrayList和Vector都是继承了相同的父类和实现了相同的接口。如下 Java代码 public class Vector<E> extends AbstractList<E> implements Lis 阅读全文
posted @ 2021-03-08 11:41 路要一步一步走 阅读(273) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/devnn/article/details/82716447 https://www.iteye.com/blog/uule-2095650 阅读全文
posted @ 2021-03-08 09:36 路要一步一步走 阅读(53) 评论(0) 推荐(0) 编辑
摘要:有一天,小王告诉我,他去一家公司面试 Java 岗,结果被面试官虐哭了。整整 10 道 Java 面试题,小王一道也没答正确。 他沮丧地给我说,“哥,说点我的情况,你愿意听吗?我和一个女孩相处,女孩大我两岁,我非科班。本来打算国庆换一家薪水高点的,好确认关系。我经验不多,技术一般般,之前在一家外包公 阅读全文
posted @ 2021-03-05 15:40 路要一步一步走 阅读(282) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/weixin_43866295/article/details/86566350 https://www.jb51.net/article/172739.htm https://www.cnblogs.com/zhangsonglin/p/11178 阅读全文
posted @ 2021-03-05 10:23 路要一步一步走 阅读(266) 评论(0) 推荐(0) 编辑
摘要:转载:https://blog.csdn.net/dongxin3594/article/details/53766626 阅读全文
posted @ 2021-03-05 09:32 路要一步一步走 阅读(55) 评论(0) 推荐(0) 编辑
摘要:1. 使用Arrays.asList的注意事项 1.1 可能会踩的坑 先来看下Arrays.asList的使用: List<Integer> statusList = Arrays.asList(1, 2); System.out.println(statusList); System.out.pr 阅读全文
posted @ 2021-03-05 08:35 路要一步一步走 阅读(89) 评论(0) 推荐(0) 编辑
摘要:转载:https://www.jianshu.com/p/e136ec79235c 阅读全文
posted @ 2021-03-01 14:26 路要一步一步走 阅读(69) 评论(0) 推荐(0) 编辑
摘要:红黑树的性质 性质1.节点是红色或黑色。 性质2.根节点是黑色。 性质3.每个叶子节点都是黑色的空节点(NIL节点)。 性质4 每个红色节点的两个子节点都是黑色。(从每个叶子到根的所有路径上不能有两个连续的红色节点) 性质5.从任一节点到其每个叶子的所有路径都包含相同数目的黑色节点。 这些约束强制了 阅读全文
posted @ 2021-03-01 14:19 路要一步一步走 阅读(1582) 评论(0) 推荐(2) 编辑

点击右上角即可分享
微信分享提示