It's an eye opener to realize that oh, actually this pattern, factory or strategy, is a solution to my problem.
睁开眼睛去认识它,事实上这种模式,策略,可以解决我的问题。
This pattern and similar techniques are sometimes called lazy initialization, since the initialization is not performed until actually required.
该模式和类似的技术有时称为“惰性初始化”,原因是在实际需要之前不执行初始化。
In order to explore actually applying this pattern, you need to look at your transaction semantics required for integration with your partner's endpoint.
为了研究这个模式的实际应用,您需要查看与您的合作伙伴端点集成所需的事务语义。
应用推荐