docs: private void sendBufferedValues() {
      ArrayList<Attribute> attributesToSend = new ArrayList<Attribute>();
      int num = 0;
      while (!this.attributeBuffer.isEmpty()) {
        num += this.attributeBuffer.drainTo(attributesToSend);
      }
      if (num > 0) {
        this.wmi.updateAttributes(attributesToSend);
        log.info("Sent {} buffered attribute updates.", Integer.valueOf(num));
      }
    }