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
MemoryAllocationException
public void startReading()
public MutableObjectIterator<T> getIterator() throws InterruptedException, IOException
getIterator
in interface CloseableInputProvider<T>
InterruptedException
IOException
CloseableInputProvider.getIterator()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.