摘要: 定义 在分布式环境中,像调用本地方法一样调用远程方法。RPC 这个概念术语在上世纪 80 年代由 Bruce Jay Nelson 提出。在 Nelson 的论文 "Implementing Remote Procedure Calls" 中指出实现 RPC 的程序包括 5 个部分: User Us 阅读全文
posted @ 2020-05-21 18:05 walterlee 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 定义 在 GoF 的《设计模式》一书中,它是这样定义的: Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary inde 阅读全文
posted @ 2020-05-21 17:24 walterlee 阅读(239) 评论(0) 推荐(1) 编辑
摘要: 定义 模板模式在 GoF 的《设计模式》一书中,是这么定义的: Define the skeleton of an algorithm in an operation, deferring some steps to subclasses. Template Method lets subclass 阅读全文
posted @ 2020-05-21 16:34 walterlee 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 一、概念 在 GoF 的《设计模式》中,它的定义如下: Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and 阅读全文
posted @ 2020-05-21 15:32 walterlee 阅读(835) 评论(0) 推荐(2) 编辑