public void process() throws IOException { if (indexer == null) return; for (Message m : mlist) indexer.writeIndex(fileno, m); }