Skip to content

Commit

Permalink
HBASE-27271 Addendum use NettyFutureUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
Apache9 committed Aug 4, 2022
1 parent 2dc2608 commit 2ac5578
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public void operationComplete(Future<Boolean> future) throws Exception {
p.addBefore(BufferCallBeforeInitHandler.NAME, readTimeoutHandlerName,
new ReadTimeoutHandler(RpcClient.DEFAULT_SOCKET_TIMEOUT_READ, TimeUnit.MILLISECONDS))
.addBefore(BufferCallBeforeInitHandler.NAME, null, chHandler);
connectionHeaderPromise.addListener(new FutureListener<Boolean>() {
NettyFutureUtils.addListener(connectionHeaderPromise, new FutureListener<Boolean>() {
@Override
public void operationComplete(Future<Boolean> future) throws Exception {
if (future.isSuccess()) {
Expand Down

0 comments on commit 2ac5578

Please sign in to comment.