@Override
  public Future<Long> write(final ByteBuffer src, final Callback<Long> callback) {
    final FutureResult<Long> futureResult = new FutureResult<Long>();
    DISCARD_SERVICE.submit(new Runnable() {
      @Override
      public void run() {
        long bytesWritten = 0;
        Exception exception = null;
        if (!isOpen()) {
          exception = new ClosedChannelException();
        } else {
          bytesWritten = src.remaining();
          src.position(src.limit());
          bytesConsumedTillNow += bytesWritten;
        }
        futureResult.done(bytesWritten, exception);
        if (callback != null) {
          callback.onCompletion(bytesWritten, exception);
        }
      }
    });
    return futureResult;
  }
A no-op implementation of {@link AsyncWritableChannel}.
ambry-tools/src/main/java/com/github/ambry/tools/perf/rest/NoOpAWC.java