Interface BufferAvailabilityListener

All Known Implementing Classes:
LocalInputChannel, UnionResultSubpartitionView

public interface BufferAvailabilityListener
Listener interface implemented by consumers of ResultSubpartitionView that want to be notified of availability of further buffers.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called whenever there might be new data available.
    default void
    notifyPriorityEvent(int prioritySequenceNumber)
    Called when the first priority event is added to the head of the buffer queue.
  • Method Details

    • notifyDataAvailable

      void notifyDataAvailable(ResultSubpartitionView view)
      Called whenever there might be new data available.
      Parameters:
      view - the ResultSubpartitionView containing available data.
    • notifyPriorityEvent

      default void notifyPriorityEvent(int prioritySequenceNumber)
      Called when the first priority event is added to the head of the buffer queue.
      Parameters:
      prioritySequenceNumber - the sequence number that identifies the priority buffer.