public final class ChannelPromiseNotifier extends PromiseNotifier<java.lang.Void,ChannelFuture> implements ChannelFutureListener
ChannelPromise
(s) and notifies them on completion.CLOSE, CLOSE_ON_FAILURE, FIRE_EXCEPTION_ON_FAILURE
构造器和说明 |
---|
ChannelPromiseNotifier(boolean logNotifyFailure,
ChannelPromise... promises)
Create a new instance
|
ChannelPromiseNotifier(ChannelPromise... promises)
Create a new instance
|
operationComplete
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
operationComplete
public ChannelPromiseNotifier(ChannelPromise... promises)
promises
- the ChannelPromise
s to notify once this ChannelFutureListener
is notified.public ChannelPromiseNotifier(boolean logNotifyFailure, ChannelPromise... promises)
logNotifyFailure
- true
if logging should be done in case notification fails.promises
- the ChannelPromise
s to notify once this ChannelFutureListener
is notified.