public class TempBarrier<T> extends Object implements CloseableInputProvider<T>
| Constructor and Description |
|---|
TempBarrier(AbstractInvokable owner,
org.apache.flink.util.MutableObjectIterator<T> input,
org.apache.flink.api.common.typeutils.TypeSerializerFactory<T> serializerFactory,
MemoryManager memManager,
IOManager ioManager,
int numPages,
List<org.apache.flink.core.memory.MemorySegment> preAllocated) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.flink.util.MutableObjectIterator<T> |
getIterator()
This method resets the input!
|
void |
startReading() |
public TempBarrier(AbstractInvokable owner, org.apache.flink.util.MutableObjectIterator<T> input, org.apache.flink.api.common.typeutils.TypeSerializerFactory<T> serializerFactory, MemoryManager memManager, IOManager ioManager, int numPages, List<org.apache.flink.core.memory.MemorySegment> preAllocated) throws MemoryAllocationException
MemoryAllocationExceptionpublic void startReading()
public org.apache.flink.util.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–2024 The Apache Software Foundation. All rights reserved.