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() |
RawFragmentBatch |
poll(long timeout,
TimeUnit timeUnit) |
int |
size() |
RawFragmentBatch |
take() |
void addOomBatch(RawFragmentBatch batch)
RawFragmentBatch poll() throws IOException, InterruptedException
IOExceptionInterruptedExceptionRawFragmentBatch take() throws IOException, InterruptedException
IOExceptionInterruptedExceptionRawFragmentBatch poll(long timeout, TimeUnit timeUnit) throws InterruptedException, IOException
InterruptedExceptionIOExceptionboolean checkForOutOfMemory()
int size()
boolean isEmpty()
void add(T obj)
Copyright © 2022 The Apache Software Foundation. All rights reserved.