Class MigrationServiceImpl.ProgressReporter

  • Enclosing class:
    MigrationServiceImpl

    protected static class MigrationServiceImpl.ProgressReporter
    extends Object
    Progress reporter that reports progress in the key/value store.
    Since:
    9.3
    • Field Detail

      • id

        protected final String id
    • Constructor Detail

      • ProgressReporter

        public ProgressReporter​(String id)
    • Method Detail

      • reportProgress

        public void reportProgress​(String message,
                                   long num,
                                   long total,
                                   boolean ping)
        Reports progress. If num or total are -2 then null is used.
      • reportError

        public void reportError​(String message,
                                Integer code)
        Since:
        2023.3