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 TypeMethodDescriptionvoidCalled whenever there might be new data available.default voidnotifyPriorityEvent(int prioritySequenceNumber) Called when the first priority event is added to the head of the buffer queue.
-
Method Details
-
notifyDataAvailable
Called whenever there might be new data available.- Parameters:
view- theResultSubpartitionViewcontaining 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.
-