public class TempBarrier<T> extends Object implements CloseableInputProvider<T>
| Constructor and Description |
|---|
TempBarrier(AbstractInvokable owner,
MutableObjectIterator<T> input,
TypeSerializerFactory<T> serializerFactory,
MemoryManager memManager,
IOManager ioManager,
int numPages) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
MutableObjectIterator<T> |
getIterator()
This method resets the input!
|
void |
startReading() |
public TempBarrier(AbstractInvokable owner, MutableObjectIterator<T> input, TypeSerializerFactory<T> serializerFactory, MemoryManager memManager, IOManager ioManager, int numPages) throws MemoryAllocationException
MemoryAllocationExceptionpublic void startReading()
public MutableObjectIterator<T> getIterator() throws InterruptedException, IOException
getIterator in interface CloseableInputProvider<T>InterruptedExceptionIOExceptionCloseableInputProvider.getIterator()public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.