code: List<RemoteEditLog> getManifest() throws IOException {
      RemoteEditLogManifest rm = remoteJournalManager.getEditLogManifest(-1);
      if (rm == null || rm.getLogs().size() == 0) {
        throw new IOException("Cannot obtain the list of log segments");
      }
      return rm.getLogs();
    }
docs: Get all available log segments present in the underlying storage directory.
  This function will never return null, or empty list of segments - it will
  throw exception in this case.