public interface BatchOperation<I,O>
All operations in a batch will be performed sequentially in a single thread (or we'd need a more complex producer/consumer API here), but there is no guarantee that they will be run in the same Hibernate session, transaction, or against the same database connection.
| Modifier and Type | Method and Description | 
|---|---|
void | 
done()
Called at the end of batch processing, whether the processing was successful or not. 
 | 
int | 
getExpectedTotal()  | 
default Function<I,O> | 
getOperataion()  | 
Iterable<I> | 
input()  | 
com.google.common.base.Function<I,O> | 
operation()
Deprecated. 
 
since 7.0.1. Use  
getOperataion() | 
void | 
prepare()
Called before the batch is processed. 
 | 
void prepare()
@Deprecated com.google.common.base.Function<I,O> operation()
getOperataion()int getExpectedTotal()
void done()
Copyright © 2003–2022 Atlassian. All rights reserved.