public class IncomingBuffers extends Object implements AutoCloseable
| Constructor and Description |
|---|
IncomingBuffers(BitControl.PlanFragment fragment,
FragmentContext context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
batchArrived(IncomingDataBatch incomingBatch) |
void |
close() |
RawBatchBuffer[] |
getBuffers(int senderMajorFragmentId) |
int |
getRemainingRequired() |
boolean |
isDone() |
public IncomingBuffers(BitControl.PlanFragment fragment, FragmentContext context)
public boolean batchArrived(IncomingDataBatch incomingBatch) throws FragmentSetupException, IOException
FragmentSetupExceptionIOExceptionpublic int getRemainingRequired()
public RawBatchBuffer[] getBuffers(int senderMajorFragmentId)
public boolean isDone()
public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.