public class UnsynchronizedArrayBuffer<E> extends AbstractUnsynchronizedArrayBuffer<E>
IBuffer#add(int).
This implementation is NOT thread-safe.
| Constructor and Description |
|---|
UnsynchronizedArrayBuffer(IBuffer<E[]> target,
Class<? extends E> cls,
int capacity) |
UnsynchronizedArrayBuffer(IBuffer<E[]> target,
int capacity,
Class<? extends E> cls,
IElementFilter<E> filter) |
public UnsynchronizedArrayBuffer(IBuffer<E[]> target, Class<? extends E> cls, int capacity)
target - The target buffer onto which the elements will be flushed.cls - The component type of the backing array.capacity - The capacity of the backing buffer.public UnsynchronizedArrayBuffer(IBuffer<E[]> target, int capacity, Class<? extends E> cls, IElementFilter<E> filter)
target - The target buffer onto which chunks of elements will be
flushed.cls - The component type of the backing array.capacity - The capacity of the backing buffer.filter - Filter to keep elements out of the buffer (optional).protected final void handleChunk(E[] chunk)
handleChunk in class AbstractUnsynchronizedArrayBuffer<E>chunk - A chunk.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.