public class GridContinuousBatchAdapter extends Object implements GridContinuousBatch
| Modifier and Type | Field and Description |
|---|---|
protected FastSizeDeque<Object> |
buf
Buffer.
|
| Constructor and Description |
|---|
GridContinuousBatchAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Object obj)
Adds element to this batch.
|
Collection<Object> |
collect()
Collects elements that are currently in this batch.
|
int |
size() |
protected final FastSizeDeque<Object> buf
public void add(Object obj)
add in interface GridContinuousBatchobj - Element to add.public Collection<Object> collect()
collect in interface GridContinuousBatchpublic int size()
size in interface GridContinuousBatch
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020