code: public N1qlParams scanWait(long wait, TimeUnit unit) {
          if (this.consistency == ScanConsistency.NOT_BOUNDED) {
              this.scanWait = null;
          } else {
              this.scanWait = durationToN1qlFormat(wait, unit);
          }
          return this;
      }
docs: If the {@link ScanConsistency#NOT_BOUNDED NOT_BOUNDED scan consistency} has been chosen, does nothing.
  
  Otherwise, sets the maximum time the client is willing to wait for an index to catch up to the
  vector timestamp in the request.
  
  @param wait the duration.
  @param unit the unit for the duration.
  @return this {@link N1qlParams} for chaining.