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 java.lang.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 |
<I,O> java.lang.Iterable<O> |
|
performAsBatch(java.lang.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> java.lang.Iterable<O> performAsBatch(java.lang.Iterable<I> input,
int expectedTotal,
com.google.common.base.Function<I,O> task)
- Specified by:
performAsBatch
in interface BatchOperationManager
Copyright © 2003-2014 Atlassian. All Rights Reserved.