更新Netty-第三话,jvm第四章错别字纠错

This commit is contained in:
Dragon
2021-04-21 17:59:49 +08:00
parent 5630980f7b
commit 53a1a4557b
6 changed files with 2565 additions and 7 deletions

View File

@@ -146,9 +146,11 @@ AQS剩余部分以及阻塞队列源码暂时先搁置一下。
## 入门
[Netty入门-第一话](docs/netty/introduction/Netty入门-第一话.md)
[Netty入门-第一话](docs/netty/introduction/Netty入门-第一话.md)第一话对BIO和NIO进行了讲解为后续做准备
[Netty入门-第二话](docs/netty/introduction/Netty入门-第二话.md)
[Netty入门-第二话](docs/netty/introduction/Netty入门-第二话.md)对Netty的架构进行了解析主要是Reactor设计模式的多种解决方案。同时讲解了Netty的核心模块组件
[Netty入门-第三话](docs/netty/introduction/Netty入门-第三话.md)对前面两话一些迷惑的点进行细说讲解handler调用机制TCP粘包以及用netty写一个十分简单的RPC
# Apollo

View File

@@ -1421,7 +1421,7 @@ public class StringBuilderTest {
s1.append("b");
return s1;
}
//s1的操作是线程安全的s1自己消亡了最后返回的智商s1.toString的一个新对象
//s1的操作是线程安全的s1自己消亡了最后返回的只是s1.toString的一个新对象
public static String method4(){
StringBuilder s1 = new StringBuilder();
s1.append("a");

View File

@@ -6,7 +6,7 @@ categories:
- Netty
- 入门
keywords: Netty
description: Netty入门-第一话。
description: 第一话对BIO和NIO进行了讲解为后续做准备
cover: 'https://cdn.jsdelivr.net/gh/youthlql/lqlp@master/netty/netty_logo.jpg'
abbrlink: 3f9283e7
date: 2021-04-08 14:21:58

File diff suppressed because it is too large Load Diff

View File

@@ -6,7 +6,7 @@ categories:
- Netty
- 入门
keywords: Netty
description: Netty入门-第二话
description: Netty的架构进行了解析主要是Reactor设计模式的多种解决方案。同时讲解了Netty的核心模块组件
cover: 'https://cdn.jsdelivr.net/gh/youthlql/lqlp@master/netty/netty_logo.jpg'
abbrlink: f846f3f
date: 2021-04-15 14:21:58
@@ -867,6 +867,8 @@ public class TestHttpServerHandler extends SimpleChannelInboundHandler<HttpObjec
# Netty 核心模块组件
> 各种东西看不懂,可以先看第三话,第三话我自认为用通俗的语言讲的还算清楚。
## Bootstrap、ServerBootstrap
1. `Bootstrap` 意思是引导,一个 `Netty` 应用通常由一个 `Bootstrap` 开始,主要作用是配置整个 `Netty` 程序,串联各个组件,`Netty``Bootstrap` 类是客户端程序的启动引导类,`ServerBootstrap` 是服务端启动引导类。

View File

@@ -22,7 +22,7 @@
window.$docsify = {
name: 'JavaYouth',
repo: 'https://github.com/youthlql/JavaYouth',
maxLevel: 5,//最大支持渲染的标题层级
maxLevel: 6,//最大支持渲染的标题层级
coverpage: true,
auto2top: true,//切换页面后是否自动跳转到页面顶部
loadNavbar: true,//导航栏
@@ -32,7 +32,7 @@
placeholder: '搜索',
noData: '找不到结果',
// 搜索标题的最大程级, 1 - 6
depth: 4,
depth: 6,
},
// 字数统计
count: {