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() |
DataCollector |
getCollector(int senderMajorFragmentId) |
int |
getRemainingRequired() |
boolean |
isDone() |
public IncomingBuffers(BitControl.PlanFragment fragment, FragmentContext context)
public boolean batchArrived(IncomingDataBatch incomingBatch) throws FragmentSetupException, IOException
FragmentSetupException
IOException
public int getRemainingRequired()
public DataCollector getCollector(int senderMajorFragmentId)
public boolean isDone()
public void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 1970 The Apache Software Foundation. All rights reserved.