code: public void reset(int initialValue) throws FetchException, PersistException {
          synchronized (mStoredSequence) {
              Transaction txn = mRepository.enterTopTransaction(null);
              txn.setForUpdate(true);
              try {
                  boolean doUpdate = mStoredSequence.tryLoad();
                  mStoredSequence.setInitialValue(initialValue);
                  // Start as small as possible to allow signed long comparisons to work.
                  mStoredSequence.setNextValue(Long.MIN_VALUE);
                  if (doUpdate) {
                      mStoredSequence.update();
                  } else {
                      mStoredSequence.insert();
                  }
                  txn.commit();
                  mHasReservedValues = false;
              } finally {
                  txn.exit();
              }
          }
      }
docs: Reset the sequence.
  
  @param initialValue first value produced by sequence