com.atlassian.confluence.core.persistence.hibernate
Class SimpleHibernateBatchOperationManager
java.lang.Object
  
com.atlassian.confluence.core.persistence.hibernate.SimpleHibernateBatchOperationManager
- All Implemented Interfaces: 
 - BatchOperationManager
 
public class SimpleHibernateBatchOperationManager
- extends Object
- implements BatchOperationManager
  
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!
 
| 
Method Summary | 
 | 
performAsBatch(Iterable<I> input,
               int expectedTotal,
               com.google.common.base.Function<I,O> task)
 
            | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SimpleHibernateBatchOperationManager
public SimpleHibernateBatchOperationManager(HibernateSessionManager sessionManager)
performAsBatch
public <I,O> Iterable<O> performAsBatch(Iterable<I> input,
                                        int expectedTotal,
                                        com.google.common.base.Function<I,O> task)
- Specified by:
 performAsBatch in interface BatchOperationManager