Class AbstractCollectResultBuffer<T>

    • Constructor Detail

      • AbstractCollectResultBuffer

        public AbstractCollectResultBuffer​(TypeSerializer<T> serializer)
    • Method Detail

      • next

        public T next()
        Get next user visible result, returns null if currently there is no more.
      • getOffset

        public long getOffset()
      • getVersion

        public String getVersion()
      • complete

        public void complete()
      • sinkRestarted

        protected abstract void sinkRestarted​(long lastCheckpointedOffset)
      • maintainVisibility

        protected abstract void maintainVisibility​(long currentVisiblePos,
                                                   long lastCheckpointedOffset)
      • makeResultsVisible

        protected void makeResultsVisible​(long visiblePos)
      • revert

        protected void revert​(long checkpointedOffset)
        Revert the buffer back to the result whose offset is `checkpointedOffset`.
      • reset

        protected void reset()
        Clear the whole buffer and discard all results.