1. Raft算法 Raft保证了在任何时候以下属性都成立: Election Safety:在一个给定的term,至多只有一个leader被选出 Leader Append...
1. Raft算法 Raft保证了在任何时候以下属性都成立: Election Safety:在一个给定的term,至多只有一个leader被选出 Leader Append...
使用命令 在Docker上启动MYSQL容器失败,查看容器的log: 可以看出,mysqld无法识别-p参数,这是由于Docker是对参数顺序敏感的,-p参数加在命令最后表示...
Paging: Introduction Crux: How to virtualize memory without segments?Here comes paging....
Free-Space Management When the space that is managing consists of variable-sized units;...
Segmentation Crux: How to support a large address space? Segmentation: Generalized Base...
Mechanism: Address Translation Crux: How to efficiently and flexibly virtualize memory?...
The Abstraction: Address Spaces Early Systems The OS was a set of routines that sat in ...
Scheduling: Proportional Share Also known as a fair-share scheduler.Instead of optimizi...
Scheduling: The Multi-Level Feedback Queue (MLFQ) Crux: design a scheduler that both mi...
Scheduling: Introduction Crux: How to develop scheduling policy Workload Assumptions Ea...
Mechanism: Limited Direct Execution Crux Attaining performance while maintaining contro...
Process Definition A process is a running program. Machine State The process's machine ...
对Mybatis注解方式有兴趣的,可以查看我的另一篇:Spring boot Mybatis 整合(注解版)[http://blog.csdn.net/Winter_chen...
一、Collections接口 Java中,集合类的基本接口是Collection接口,这个接口有两个基本方法: add方法用于向集合中添加元素。若添加元素确实改变了集合就返...
一、异常概述 Java中的所有异常都派生于Throwable类,有Error和Exception两个分支。Error类层次结构描述了Java运行时系统的内部错误和资源耗尽错误...
一、Object类概述 Object类是Java中所有类的始祖,在Java中的每个类都是由它扩展而来的。可以使用Object类型的变量引用任何类型的对象,例如: 在Java中...
一、重载Overload 多个方法有相同的名字、不同的参数,叫做重载。例如: 此处StringBuilder类有两个不同的构造器,这两个构造器的参数个数不同,产生了重载。Ja...
一、final修饰符 1.1 final域 可以将实例域定义为final,在构建对象时必须初始化这样的域。也就是说,必须确保在每个构造器执行后,这个域的值被设置,并且在后面的...