code: public final void decreaseScheduledBytesAndMessages(WriteRequest request) {
          Object message = request.getMessage();
          if (message instanceof IoBuffer) {
              IoBuffer b = (IoBuffer) message;
              if (b.hasRemaining()) {
                  increaseScheduledWriteBytes(-((IoBuffer) message).remaining());
              }
          }
      }
docs: TODO Add method documentation