PromiseCombiner类,通过收听单个期货并在所有期货完成时产生汇总结果(成功/失败),用于将多个渠道期货合并成一个。
@Deprecated public final class ChannelPromiseAggregator extends PromiseAggregator<java.lang.Void,ChannelFuture> implements ChannelFutureListener
CLOSE, CLOSE_ON_FAILURE, FIRE_EXCEPTION_ON_FAILURE| Constructor and Description |
|---|
ChannelPromiseAggregator(ChannelPromise aggregatePromise)
已过时。
|
add, operationCompleteclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitoperationCompletepublic ChannelPromiseAggregator(ChannelPromise aggregatePromise)
Copyright © 2008–2018 The Netty Project. All rights reserved.