code: private void setBatchSize(Object value)
      {
          if (value instanceof Integer)
          {
              this.couchDBClient.setBatchSize((Integer) value);
          }
          else if (value instanceof String)
          {
              this.couchDBClient.setBatchSize(Integer.valueOf((String) value));
          }
      }
docs: set batch size.
  
  @param value
  the new batch size