code: public List<EditLogFile> getLogFiles(long fromTxId, boolean enforceBoundary)
        throws IOException {
      File currentDir = sd.getCurrentDir();
      List<EditLogFile> allLogFiles = matchEditLogs(currentDir.listFiles());
      List<EditLogFile> logFiles = new ArrayList<EditLogFile>();
      
      for (EditLogFile elf : allLogFiles) {
        if (enforceBoundary && fromTxId > elf.getFirstTxId()
            && fromTxId <= elf.getLastTxId()) {
          throw new IOException("Asked for fromTxId " + fromTxId
              + " which is in middle of file " + elf.file);
        }
        if (fromTxId <= elf.getFirstTxId()) {
          logFiles.add(elf);
        }
      }
      
      Collections.sort(logFiles, EditLogFile.COMPARE_BY_START_TXID);
  
      return logFiles;
    }
docs: Get all edit log segments
  
  @param fromTxId starting txid
  @param enforceBoundary should we throw an exception if the requested
  txid is not the starting id of a segment