@Internal
public interface BufferOrEventSequence
CheckpointBarrierHandler
. The sequence of buffers and events can be
read back using the method getNext()
.限定符和类型 | 方法和说明 |
---|---|
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).IOException
void cleanup() throws IOException
IOException
long size()
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.