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 subpartitions.Constructor and Description |
---|
BufferAndAvailability(Buffer buffer,
Buffer.DataType nextDataType,
int buffersInBacklog,
int sequenceNumber) |
Modifier and Type | Method and Description |
---|---|
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–2024 The Apache Software Foundation. All rights reserved.