| Modifier and Type | Class and Description |
|---|---|
static interface |
BatchProcessor.Executor<T> |
| Constructor and Description |
|---|
BatchProcessor(int batchSize,
BatchProcessor.Executor<T> executor) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
process(Collection<T> items) |
void |
process(T item) |
public BatchProcessor(int batchSize,
BatchProcessor.Executor<T> executor)
public void process(Collection<T> items)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2021 Open Foris. All rights reserved.