Class StreamTaskNetworkInput<T>

All Implemented Interfaces:
Closeable, AutoCloseable, AvailabilityProvider, PushingAsyncDataInput<T>, StreamTaskInput<T>

Implementation of StreamTaskInput that wraps an input from network taken from CheckpointedInputGate.

This internally uses a StatusWatermarkValve to keep track of Watermark and WatermarkStatus events, and forwards them to event subscribers once the StatusWatermarkValve determines the Watermark from all inputs has advanced, or that a WatermarkStatus needs to be propagated downstream to denote a status change.

Forwarding elements, watermarks, or status elements must be protected by synchronizing on the given lock object. This ensures that we don't call methods on a StreamInputProcessor concurrently with the timer callback or other things.