public void run()

in ratis-logservice/src/main/java/org/apache/ratis/logservice/tool/VerificationTool.java [316:331]


        public void run() {
            try {
                LogWriter writer = getLogWriter();
                for (int i = 0; i < getNumRecords(); i++) {
                    String message = MESSAGE_PREFIX + i;
                    if (i % getLogFreq() == 0) {
                      LOG.info(getLogName() + " Writing " + message);
                    }
                    writer.write(createValue(message));
                }
                writer.close();
                LOG.info("{} entries written to {} successfully.", getNumRecords(), getLogName());
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }