public class BatchProcessor<T>
extends Object
| Constructor and Description |
|---|
BatchProcessor(long batchInterval,
int batchSize,
Consumer<List<T>> consumer,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(T item) |
void |
close() |
void |
configure(long batchInterval,
int batchSize) |