public class

SimpleHibernateBatchOperationManager

extends Object
implements BatchOperationManager
java.lang.Object
   ↳ com.atlassian.confluence.core.persistence.hibernate.SimpleHibernateBatchOperationManager

Class Overview

Performs a batch operation in a series of independent transactions containing an arbitrary number of operations (which happens to be 50).

Warning: using this batcher will clear the current session!

Summary

Public Constructors
SimpleHibernateBatchOperationManager(HibernateSessionManager sessionManager)
Public Methods
<I, O> Iterable<O> performAsBatch(Iterable<I> input, int expectedTotal, Function<I, O> task)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.core.BatchOperationManager

Public Constructors

public SimpleHibernateBatchOperationManager (HibernateSessionManager sessionManager)

Public Methods

public Iterable<O> performAsBatch (Iterable<I> input, int expectedTotal, Function<I, O> task)