@Override
    public void operationComplete(ChannelFuture future) {
      if (!future.isSuccess()) {
        exception = (Exception) future.cause();
        invokeFutureAndCallback("WriteResultListener::operationComplete");
      }
    }
Listens to results of the write to channel.
ambry-test-utils/src/main/java/com/github/ambry/rest/NettyClient.java