Class WorkSourceBatchRunner<T>

java.lang.Object
com.atlassian.confluence.content.render.xhtml.migration.WorkSourceBatchRunner<T>
Type Parameters:
T - the type of item that will be in the batches

public class WorkSourceBatchRunner<T> extends Object

This class is typically the basis for upgrade or migration tasks that need to manipulate a large amount of content. It will use a parameterised number of worker threads to operate on batches of content as specified by a supplied BatchableWorkSource.

Each batch of work will occur within its own transaction.

  • Constructor Details

    • WorkSourceBatchRunner

      public WorkSourceBatchRunner(String threadName, int numThreads, org.springframework.transaction.PlatformTransactionManager transactionManager)
  • Method Details