Class ChannelPromiseAggregator
java.lang.Object
io.netty.util.concurrent.PromiseAggregator<Void, ChannelFuture>
io.netty.channel.ChannelPromiseAggregator
- All Implemented Interfaces:
ChannelFutureListener, GenericFutureListener<ChannelFuture>, EventListener
@Deprecated
public final class ChannelPromiseAggregator
extends PromiseAggregator<Void, ChannelFuture>
implements ChannelFutureListener
Deprecated.
-
Field Summary
Fields inherited from interface ChannelFutureListener
CLOSE, CLOSE_ON_FAILURE, FIRE_EXCEPTION_ON_FAILUREModifier and TypeFieldDescriptionstatic final ChannelFutureListenerAChannelFutureListenerthat closes theChannelwhich is associated with the specifiedChannelFuture.static final ChannelFutureListenerAChannelFutureListenerthat closes theChannelwhen the operation ended up with a failure or cancellation rather than a success.static final ChannelFutureListener -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class PromiseAggregator
add, operationCompleteModifier and TypeMethodDescriptionfinal PromiseAggregator<Void, ChannelFuture> Deprecated.Add the givenPromises to the aggregator.voidoperationComplete(ChannelFuture future) Deprecated.Invoked when the operation associated with theFuturehas been completed.
-
Constructor Details
-
ChannelPromiseAggregator
Deprecated.
-
PromiseCombinerClass which is used to consolidate multiple channel futures into one, by listening to the individual futures and producing an aggregated result (success/failure) when all futures have completed.