public long getBytesWritten() {
    return totalBytesWritten.get();
  }
@return the number of bytes written to the channel at this point in time.
ambry-commons/src/main/java/com/github/ambry/commons/RetainingAsyncWritableChannel.java