Class ContentEntityMigrationTaskWrapper.LoggingCallback

java.lang.Object
com.atlassian.confluence.content.render.xhtml.migration.tasks.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 Details

    • LoggingCallback

      public LoggingCallback(int total)
  • Method Details

    • logProgress

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