public static final class ResultSubpartition.BufferAndBacklog extends Object
Buffer
and the backlog length indicating
how many non-event buffers are available in the subpartition.Constructor and Description |
---|
BufferAndBacklog(Buffer buffer,
boolean isMoreAvailable,
int buffersInBacklog,
boolean nextBufferIsEvent) |
Modifier and Type | Method and Description |
---|---|
Buffer |
buffer() |
int |
buffersInBacklog() |
boolean |
isMoreAvailable() |
boolean |
nextBufferIsEvent() |
public BufferAndBacklog(Buffer buffer, boolean isMoreAvailable, int buffersInBacklog, boolean nextBufferIsEvent)
public Buffer buffer()
public boolean isMoreAvailable()
public int buffersInBacklog()
public boolean nextBufferIsEvent()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.