@Component public class BatchExecutor extends Object
BatchExecutor()
<T> void
batchExecute(boolean useThreadPool, List<T> data, Consumer<List<T>> consumer)
execute(boolean useThreadPool, List<T> data, Consumer<List<T>> consumer, long limit)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public BatchExecutor()
public <T> void batchExecute(boolean useThreadPool, List<T> data, Consumer<List<T>> consumer)
T
data
consumer
useThreadPool
public <T> void execute(boolean useThreadPool, List<T> data, Consumer<List<T>> consumer, long limit)
limit
Copyright © 2022. All rights reserved.