public static final class ResultSubpartition.BufferAndBacklog extends Object
Buffer and the backlog length indicating how many non-event
buffers are available in the subpartition.| 构造器和说明 |
|---|
BufferAndBacklog(Buffer buffer,
int buffersInBacklog,
Buffer.DataType nextDataType,
int sequenceNumber) |
| 限定符和类型 | 方法和说明 |
|---|---|
Buffer |
buffer() |
int |
buffersInBacklog() |
static ResultSubpartition.BufferAndBacklog |
fromBufferAndLookahead(Buffer current,
Buffer.DataType nextDataType,
int backlog,
int sequenceNumber) |
Buffer.DataType |
getNextDataType() |
int |
getSequenceNumber() |
boolean |
isDataAvailable() |
boolean |
isEventAvailable() |
public BufferAndBacklog(Buffer buffer, int buffersInBacklog, Buffer.DataType nextDataType, int sequenceNumber)
public Buffer buffer()
public boolean isDataAvailable()
public int buffersInBacklog()
public boolean isEventAvailable()
public Buffer.DataType getNextDataType()
public int getSequenceNumber()
public static ResultSubpartition.BufferAndBacklog fromBufferAndLookahead(Buffer current, Buffer.DataType nextDataType, int backlog, int sequenceNumber)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.