Skip to content

Commit a81bc53

Browse files
author
jiahaixin
committed
redis
1 parent 13c2c87 commit a81bc53

File tree

14 files changed

+2111
-11
lines changed

14 files changed

+2111
-11
lines changed

docs/.DS_Store

0 Bytes
Binary file not shown.

docs/.vuepress/config.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ function genJavaSidebar() {
135135
"JUC/多个线程顺序执行问题",
136136
]
137137
},
138-
{
138+
{
139139
title: "Other",
140140
collapsable: true,
141141
children: [
@@ -258,6 +258,14 @@ function genFrameworkSidebar(){
258258
['Quartz/Quartz-MySQL', 'jobstore 数据库表结构'],
259259
// ['SpringBoot/@Scheduled', '@Scheduled'],
260260
]
261+
},
262+
{
263+
title: "Logging",
264+
collapsable: true,
265+
sidebarDepth: 2, // 可选的, 默认值是 1
266+
children: [
267+
['logging/Java-Logging', 'Hello Logging']
268+
]
261269
}
262270
];
263271
}

docs/data-management/.DS_Store

0 Bytes
Binary file not shown.

docs/data-management/Redis/Redis-Datatype.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Redis 为了平衡空间和时间效率,针对 value 的具体类型在底层
3636

3737
在下图中,可以看到,哈希桶中的 entry 元素中保存了 `*key``*value` 指针,分别指向了实际的键和值,这样一来,即使值是一个集合,也可以通过 `*value` 指针被查找到。
3838

39-
![img](https://static001.geekbang.org/resource/image/1c/5f/1cc8eaed5d1ca4e3cdbaa5a3d48dfb5f.jpg)
39+
![](https://static001.geekbang.org/resource/image/1c/5f/1cc8eaed5d1ca4e3cdbaa5a3d48dfb5f.jpg)
4040

4141
因为这个哈希表保存了所有的键值对,所以,我也把它称为全局哈希表。哈希表的最大好处很明显,就是让我们可以用 $O(1)$ 的时间复杂度来快速查找到键值对——我们只需要计算键的哈希值,就可以知道它所对应的哈希桶位置,然后就可以访问相应的 entry 元素。
4242

@@ -386,7 +386,7 @@ public class JedisTest {
386386

387387
[Redis命令中心](http://www.redis.cn/commands.html)
388388

389-
389+
[Redis 命令参考](http://redisdoc.com/ )
390390

391391
#### Key(键)常用命令
392392

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
### 缓存粒度
2+
3+
### 穿透优化
4+

docs/distribution/.DS_Store

0 Bytes
Binary file not shown.

docs/distribution/ZooKeeper/Zookeeper-Use.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,3 @@ pc广告在上海 zk用作配置管理,有可投放的商品包状态变动会
339339
- ZooKeeper的常用命令
340340

341341
ls create get delete set…
342-
343-
344-
345-
![](../../../images/blog_end.png)

docs/framework/.DS_Store

0 Bytes
Binary file not shown.
File renamed without changes.
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<<<<<<< HEAD
1+
22
<https://logback.qos.ch/manual/introduction.html> (英文手册)
33

44
## 一、logback介绍
@@ -398,8 +398,6 @@ public class App {
398398
![img](http://ftp.bmp.ovh/imgs/2019/11/67a5dfcedbb94712.png)
399399

400400
## 七、总结
401-
402-
=======
403401
<https://logback.qos.ch/manual/introduction.html> (英文手册)
404402

405403
## 一、logback介绍
@@ -800,5 +798,5 @@ public class App {
800798

801799
## 七、总结
802800

803-
>>>>>>> 43189e7cc0106d720da3f9609e511e9a80722ed0
801+
43189e7cc0106d720da3f9609e511e9a80722ed0
804802
logback的配置,需要配置输出源appender,打日志的loger(子节点)和root(根节点),实际上,它输出日志是从子节点开始,子节点如果有输出源直接输入,如果无,判断配置的addtivity,是否像上级传递,即是否向root传递,传递则采用root的输出源,否则不输出日志。

0 commit comments

Comments
 (0)