protected static interface BaseRawBatchBuffer.BufferQueue<T>
| Modifier and Type | Method and Description |
|---|---|
void |
add(T obj) |
void |
addOomBatch(RawFragmentBatch batch) |
boolean |
checkForOutOfMemory() |
boolean |
isEmpty() |
RawFragmentBatch |
poll() |
int |
size() |
RawFragmentBatch |
take() |
void addOomBatch(RawFragmentBatch batch)
RawFragmentBatch poll() throws IOException
IOExceptionRawFragmentBatch take() throws IOException, InterruptedException
IOExceptionInterruptedExceptionboolean checkForOutOfMemory()
int size()
boolean isEmpty()
void add(T obj)
Copyright © 2017 The Apache Software Foundation. All rights reserved.