@Deprecated public static class BufferSpiller.SpilledBufferOrEventSequence extends Object implements BufferOrEventSequence
BufferSpiller.| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
Deprecated.
Cleans up all the resources held by the sequence.
|
org.apache.flink.runtime.io.network.partition.consumer.BufferOrEvent |
getNext()
Deprecated.
Gets the next BufferOrEvent from the sequence, or
null, if the
sequence is exhausted. |
void |
open()
Deprecated.
This method needs to be called before the first call to
getNext(). |
long |
size()
Deprecated.
Gets the size of the sequence.
|
public void open()
getNext().
Otherwise the results of getNext() are not predictable.open in interface BufferOrEventSequencepublic org.apache.flink.runtime.io.network.partition.consumer.BufferOrEvent getNext()
throws IOException
BufferOrEventSequencenull, if the
sequence is exhausted.getNext in interface BufferOrEventSequencenull (end of sequence).IOExceptionpublic void cleanup()
throws IOException
BufferOrEventSequencecleanup in interface BufferOrEventSequenceIOExceptionpublic long size()
BufferOrEventSequencesize in interface BufferOrEventSequenceCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.