code: public final int writeSome() throws IOException {
      int wrote = channel.write(wbuf);
      assert wrote >= 0 : "Wrote negative bytes?";
      toWrite -= wrote;
      assert toWrite >= 0 : "toWrite went negative after writing " + wrote
          + " bytes for " + this;
      getLogger().debug("Wrote %d bytes", wrote);
      return wrote;
    }
docs: /*
  (non-Javadoc)
  
  @see net.spy.memcached.MemcachedNode#writeSome()