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 ignoredCacheManager,
String versionComment,
ContentEntityMigrationTaskWrapper.LoggingCallback loggingCallback)
|
ContentEntityMigrationTaskWrapper(ExceptionTolerantMigrator migrator,
ExceptionReport report,
ContentDao contentDao,
BatchableWorkSource<ContentEntityObject> workSource,
String versionComment,
ContentEntityMigrationTaskWrapper.LoggingCallback loggingCallback)
|
ContentEntityMigrationTaskWrapper(ExceptionTolerantMigrator migrator,
ExceptionReport report,
ContentDao contentDao,
BatchableWorkSource<ContentEntityObject> workSource,
String versionComment,
ContentEntityMigrationTaskWrapper.LoggingCallback loggingCallback,
org.hibernate.SessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
Integer |
doInTransaction(org.springframework.transaction.TransactionStatus status) |
@Deprecated public ContentEntityMigrationTaskWrapper(ExceptionTolerantMigrator migrator, ExceptionReport report, ContentDao contentDao, BatchableWorkSource<ContentEntityObject> workSource, com.atlassian.cache.CacheManager ignoredCacheManager, String versionComment, ContentEntityMigrationTaskWrapper.LoggingCallback loggingCallback)
@Deprecated public ContentEntityMigrationTaskWrapper(ExceptionTolerantMigrator migrator, ExceptionReport report, ContentDao contentDao, BatchableWorkSource<ContentEntityObject> workSource, String versionComment, ContentEntityMigrationTaskWrapper.LoggingCallback loggingCallback)
public ContentEntityMigrationTaskWrapper(ExceptionTolerantMigrator migrator, ExceptionReport report, ContentDao contentDao, BatchableWorkSource<ContentEntityObject> workSource, String versionComment, ContentEntityMigrationTaskWrapper.LoggingCallback loggingCallback, org.hibernate.SessionFactory sessionFactory)
public Integer doInTransaction(org.springframework.transaction.TransactionStatus status)
doInTransaction
in interface org.springframework.transaction.support.TransactionCallback
Copyright © 2003–2019 Atlassian. All rights reserved.