缓存主要为了解决各个组件之间读取速度不匹配问题,比如寄存器是L1的缓存,L1是L2的缓存,L2是L3的缓存,L3是内存的缓存等。通过读Java Concurrency Practice P85,实现了一个简单可以添加和获取数据的缓存。其它的诸如缓存过期,更新缓存等没有实现 !! 代码 计算接口,用到 ...
分类:
其他好文 时间:
2018-08-12 18:50:17
阅读次数:
194
xu言: You're the best... Grammar focus 语法点: eye eyes hand hands foot feet tooth teeth arm arms leg legs Practice ['prækt?s] What hurts? My hands hurtMy ...
分类:
其他好文 时间:
2018-08-09 01:12:36
阅读次数:
210
安装docker参考 https://yeasy.gitbooks.io/docker_practice/content/install/ubuntu.html 拉取ubuntu16.04 作为基本镜像```docker pull ubuntu:16.04``` 建个空目录 ,创建Dockerfil ...
分类:
其他好文 时间:
2018-08-07 11:05:37
阅读次数:
148
参考: "docker practice" 1. docker安装 2. docker服务启动 3. docker pull ubuntu 运行 查看系统版本 停止容器 4. commit定制镜像 5. Dockerfile 6. docker container prune 7. 查看容易操作日志 ...
分类:
其他好文 时间:
2018-08-04 15:44:37
阅读次数:
162
/** * Created by Sandy.Liu on 2018/7/28. * Thinking in java version 4, chapter 5, practice 2 * Create a class which includes two string values, one is ...
分类:
编程语言 时间:
2018-08-02 10:20:48
阅读次数:
146
Problem Description Your task is to calculate the sum of some integers. Input Input contains an integer N in the first line, and then N lines follow. ...
分类:
其他好文 时间:
2018-07-30 21:34:53
阅读次数:
160
/** * Created by Sandy.Liu on 2018/7/19. * Thinking in java, version 4, chapter 4, practice 1 * Write a program to print from 1 to 100 */public class ...
分类:
编程语言 时间:
2018-07-28 21:58:26
阅读次数:
192
https://www.nowcoder.com/practice/72a5a919508a4251859fb2cfb987a0e6?tpId=13&tqId=11163&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question ...
分类:
其他好文 时间:
2018-07-27 14:52:20
阅读次数:
146
https://www.nowcoder.com/practice/564f4c26aa584921bc75623e48ca3011?tpId=13&tqId=11171&tPage=1&rp=1&ru=%2Fta%2Fcoding-interviews&qru=%2Fta%2Fcoding-int ...
分类:
其他好文 时间:
2018-07-27 14:49:11
阅读次数:
133
https://www.nowcoder.com/practice/8c82a5b80378478f9484d87d1c5f12a4?tpId=13&tqId=11161&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question ...
分类:
其他好文 时间:
2018-07-27 14:46:18
阅读次数:
136