code: public synchronized void reset(MemoryIntArray intArray, long maxScn) throws IOException {
        reset(intArray);
        
        _log.info("update hwmScn and lwmScn:" + maxScn);
        writeHwmScn(maxScn);
        writeLwmScn(maxScn);
        flush();
    }
docs: Resets this ArrayFile with the specified integer array and the max SCN (System Change Number).
  
  @param intArray - the integer array.
  @param maxScn   - the system change number for the low and high water marks.
  @throws IOException