netty 装饰的实现-java闭包

public class Context{ /** * Context 引用环境 * ExecutorDecorator.apply(原始的executor)返回装饰对象, * 该装饰对象和原始对象实现了同一接口 * 该装饰对象内部持有了Context的原始executor */ private Executor decorateExecutor =ExecutorDecorato
相关文章
相关标签/搜索