摘要:
学习设计模式 - 命令模式 一丶定义 将一个请求封装成一个对象,从而让你使用不同的请求把客户端参数化,对请求排队或者记录请求日志,可以提供命令的撤销和恢复功能.(Encapsulate a request as an object, thereby letting you parameterize 阅读全文
摘要:
学习 NIO 之 零拷贝 一、什么是零拷贝 引用维基百科的原话 "Zero-copy" describes computer operations in which the CPU does not perform the task of copying data from one memory a 阅读全文
摘要:
状态模式 一丶定义(是什么) Allow an object to alter its behavior when its internal state changes. The object will appear to change tis class. (当一个对象内在状态改变时,允许其改变其 阅读全文