public class

ContentEntityMigrationTaskWrapper

extends TransactionCallbackWithoutResult
java.lang.Object
   ↳ org.springframework.transaction.support.TransactionCallbackWithoutResult
     ↳ com.atlassian.confluence.content.render.xhtml.migration.tasks.ContentEntityMigrationTaskWrapper

Class Overview

Wraps a @see ContentEntityMigrationBatchTask and ensures that the flush mode of the session is set to commit. This ensures that our session doesn't chew all the memory as we load each and every CEO.

Summary

Nested Classes
class ContentEntityMigrationTaskWrapper.LoggingCallback Provides coordinated thread-safe logging of progress across multiple executing threads. 
Public Constructors
ContentEntityMigrationTaskWrapper(ExceptionTolerantMigrator migrator, ExceptionReport report, ContentDao contentDao, BatchableWorkSource<ContentEntityObject> workSource, CacheManager cacheManager, String versionComment, ContentEntityMigrationTaskWrapper.LoggingCallback loggingCallback)
Protected Constructors
ContentEntityMigrationTaskWrapper(ExceptionReport report, ContentDao contentDao, BatchableWorkSource<ContentEntityObject> workSource, ContentEntityMigrationBatchTask batchTask, CacheManager cacheManager, ContentEntityMigrationTaskWrapper.LoggingCallback loggingCallback)
Constructor exposed for unit tests.
Protected Methods
void doInTransactionWithoutResult(TransactionStatus status)
[Expand]
Inherited Methods
From class org.springframework.transaction.support.TransactionCallbackWithoutResult
From class java.lang.Object
From interface org.springframework.transaction.support.TransactionCallback

Public Constructors

public ContentEntityMigrationTaskWrapper (ExceptionTolerantMigrator migrator, ExceptionReport report, ContentDao contentDao, BatchableWorkSource<ContentEntityObject> workSource, CacheManager cacheManager, String versionComment, ContentEntityMigrationTaskWrapper.LoggingCallback loggingCallback)

Protected Constructors

protected ContentEntityMigrationTaskWrapper (ExceptionReport report, ContentDao contentDao, BatchableWorkSource<ContentEntityObject> workSource, ContentEntityMigrationBatchTask batchTask, CacheManager cacheManager, ContentEntityMigrationTaskWrapper.LoggingCallback loggingCallback)

Constructor exposed for unit tests.

Protected Methods

protected void doInTransactionWithoutResult (TransactionStatus status)