Class ResultSubpartition.BufferAndBacklog

  • Enclosing class:
    ResultSubpartition

    public static final class ResultSubpartition.BufferAndBacklog
    extends Object
    A combination of a Buffer and the backlog length indicating how many non-event buffers are available in the subpartition.
    • Constructor Detail

      • BufferAndBacklog

        public BufferAndBacklog​(Buffer buffer,
                                int buffersInBacklog,
                                Buffer.DataType nextDataType,
                                int sequenceNumber)
    • Method Detail

      • buffer

        public Buffer buffer()
      • isDataAvailable

        public boolean isDataAvailable()
      • buffersInBacklog

        public int buffersInBacklog()
      • isEventAvailable

        public boolean isEventAvailable()
      • getSequenceNumber

        public int getSequenceNumber()