public static final class InputChannel.BufferAndAvailability extends Object
Buffer and a flag indicating availability of further buffers, and
the backlog length indicating how many non-event buffers are available in the subpartition.| 构造器和说明 |
|---|
BufferAndAvailability(Buffer buffer,
Buffer.DataType nextDataType,
int buffersInBacklog,
int sequenceNumber) |
| 限定符和类型 | 方法和说明 |
|---|---|
Buffer |
buffer() |
int |
buffersInBacklog() |
int |
getSequenceNumber() |
boolean |
hasPriority() |
boolean |
moreAvailable() |
boolean |
morePriorityEvents() |
String |
toString() |
public BufferAndAvailability(Buffer buffer, Buffer.DataType nextDataType, int buffersInBacklog, int sequenceNumber)
public Buffer buffer()
public boolean moreAvailable()
public boolean morePriorityEvents()
public int buffersInBacklog()
public boolean hasPriority()
public int getSequenceNumber()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.