Class ContentEntityMigrationTaskWrapper.LoggingCallback

  • Enclosing class:
    ContentEntityMigrationTaskWrapper

    public static class ContentEntityMigrationTaskWrapper.LoggingCallback
    extends Object
    Provides coordinated thread-safe logging of progress across multiple executing threads. Multiple ContentEntityMigrationTaskWrappers should be constructed with the one instance of LoggingCallback to coordinate the logging of progress between the instances.
    • Constructor Detail

      • LoggingCallback

        public LoggingCallback​(int total)
    • Method Detail

      • logProgress

        public void logProgress​(String threadName,
                                int batchSize,
                                int migratedEntityCount)