code: public QueueBuilder<T>  finalFlushTime(int time, TimeUnit unit)
      {
          finalFlushMs = (int)unit.toMillis(time);
          return this;
      }
docs: Sets an amount of time to call {@link DistributedQueue#flushPuts(long, TimeUnit)} when the
  queue is closed. The default is 5 seconds. Pass 0 to turn flushing on close off.
  
  @param time time
  @param unit the unit
  @return this