public class ContentEntityMigrationTaskWrapper extends Object implements org.springframework.transaction.support.TransactionCallback
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.Modifier and Type | Class and Description |
---|---|
static class |
ContentEntityMigrationTaskWrapper.LoggingCallback
Provides coordinated thread-safe logging of progress across multiple executing threads.
|
Constructor and Description |
---|
ContentEntityMigrationTaskWrapper(ExceptionTolerantMigrator migrator,
ExceptionReport report,
ContentDao contentDao,
BatchableWorkSource<ContentEntityObject> workSource,
com.atlassian.cache.CacheManager cacheManager,
String versionComment,
ContentEntityMigrationTaskWrapper.LoggingCallback loggingCallback) |
Modifier and Type | Method and Description |
---|---|
Integer |
doInTransaction(org.springframework.transaction.TransactionStatus status) |
public ContentEntityMigrationTaskWrapper(ExceptionTolerantMigrator migrator, ExceptionReport report, ContentDao contentDao, BatchableWorkSource<ContentEntityObject> workSource, com.atlassian.cache.CacheManager cacheManager, String versionComment, ContentEntityMigrationTaskWrapper.LoggingCallback loggingCallback)
public Integer doInTransaction(org.springframework.transaction.TransactionStatus status)
doInTransaction
in interface org.springframework.transaction.support.TransactionCallback
Copyright © 2003–2015 Atlassian. All rights reserved.