Batch Inserts In Spring Boot Style Via CompletableFuture
And Return List<S>
(1)
You may also like: Batch Inserts In Spring Boot Style Via CompletableFuture
And Return List<S>
(2)
Description: This application is a sample of using CompletableFuture
for batching inserts. This CompletableFuture
uses an Executor
that has the number of threads equal with the number of your computer cores. Usage is in Spring style. It returns List<S>
representing the list of persisted entities.