@Internal
public interface BufferOrEventSequence
CheckpointBarrierHandler. The sequence of buffers and events can be
read back using the method getNext().| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
Cleans up all the resources held by the sequence.
|
org.apache.flink.runtime.io.network.partition.consumer.BufferOrEvent |
getNext()
Gets the next BufferOrEvent from the sequence, or
null, if the
sequence is exhausted. |
void |
open()
Initializes the sequence for reading.
|
long |
size()
Gets the size of the sequence.
|
void open()
@Nullable org.apache.flink.runtime.io.network.partition.consumer.BufferOrEvent getNext() throws IOException
null, if the
sequence is exhausted.null (end of sequence).IOExceptionvoid cleanup()
throws IOException
IOExceptionlong size()
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.