code: public void put(Entity entity) {
      int bytesHere = EntityTranslator.convertToPb(entity).getSerializedSize();
  
      // Do this before the add so that we guarantee that size is never > sizeLimit
      if (putsBytes + bytesHere >= params.getBytesLimit()) {
        flushPuts();
      }
  
      putsBytes += bytesHere;
      puts.add(entity);
  
      if (puts.size() >= params.getCountLimit()) {
        flushPuts();
      }
    }
docs: Adds a mutation deleting the entity with the given key.