public final class NettyConnectListener<T> extends SimpleChannelFutureListener
CLOSE, CLOSE_ON_FAILURE, FIRE_EXCEPTION_ON_FAILURE| Constructor and Description |
|---|
NettyConnectListener(NettyResponseFuture<T> future,
NettyRequestSender requestSender,
ChannelManager channelManager,
boolean channelPreempted,
Object partitionKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(Channel channel,
Throwable cause) |
void |
onSuccess(Channel channel) |
operationCompletepublic NettyConnectListener(NettyResponseFuture<T> future, NettyRequestSender requestSender, ChannelManager channelManager, boolean channelPreempted, Object partitionKey)
public void onSuccess(Channel channel) throws Exception
onSuccess in class SimpleChannelFutureListenerExceptionCopyright © 2016. All Rights Reserved.