com.atlassian.confluence.content.render.xhtml.migration.tasks
Class ContentEntityMigrationTaskWrapper
java.lang.Object
org.springframework.transaction.support.TransactionCallbackWithoutResult
com.atlassian.confluence.content.render.xhtml.migration.tasks.ContentEntityMigrationTaskWrapper
- All Implemented Interfaces:
- org.springframework.transaction.support.TransactionCallback
public class ContentEntityMigrationTaskWrapper
- extends org.springframework.transaction.support.TransactionCallbackWithoutResult
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.
Constructor Summary |
protected |
ContentEntityMigrationTaskWrapper(ExceptionReport report,
ContentDao contentDao,
BatchableWorkSource<ContentEntityObject> workSource,
ContentEntityMigrationBatchTask batchTask,
com.atlassian.cache.CacheManager cacheManager,
ContentEntityMigrationTaskWrapper.LoggingCallback loggingCallback)
Constructor exposed for unit tests. |
|
ContentEntityMigrationTaskWrapper(ExceptionTolerantMigrator migrator,
ExceptionReport report,
ContentDao contentDao,
BatchableWorkSource<ContentEntityObject> workSource,
com.atlassian.cache.CacheManager cacheManager,
String versionComment,
ContentEntityMigrationTaskWrapper.LoggingCallback loggingCallback)
|
Methods inherited from class org.springframework.transaction.support.TransactionCallbackWithoutResult |
doInTransaction |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentEntityMigrationTaskWrapper
public ContentEntityMigrationTaskWrapper(ExceptionTolerantMigrator migrator,
ExceptionReport report,
ContentDao contentDao,
BatchableWorkSource<ContentEntityObject> workSource,
com.atlassian.cache.CacheManager cacheManager,
String versionComment,
ContentEntityMigrationTaskWrapper.LoggingCallback loggingCallback)
ContentEntityMigrationTaskWrapper
protected ContentEntityMigrationTaskWrapper(ExceptionReport report,
ContentDao contentDao,
BatchableWorkSource<ContentEntityObject> workSource,
ContentEntityMigrationBatchTask batchTask,
com.atlassian.cache.CacheManager cacheManager,
ContentEntityMigrationTaskWrapper.LoggingCallback loggingCallback)
- Constructor exposed for unit tests.
- Parameters:
report
- contentDao
- workSource
- batchTask
- cacheManager
-
doInTransactionWithoutResult
protected void doInTransactionWithoutResult(org.springframework.transaction.TransactionStatus status)
- Specified by:
doInTransactionWithoutResult
in class org.springframework.transaction.support.TransactionCallbackWithoutResult
Copyright © 2003-2013 Atlassian. All Rights Reserved.