Class ContentEntityMigrationTaskWrapper

java.lang.Object
com.atlassian.confluence.content.render.xhtml.migration.tasks.ContentEntityMigrationTaskWrapper
All Implemented Interfaces:
org.springframework.transaction.support.TransactionCallback<Integer>

public class ContentEntityMigrationTaskWrapper extends Object implements org.springframework.transaction.support.TransactionCallback<Integer>
Wraps a 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.