Class WatermarkCombinationPolicy

  • All Implemented Interfaces:
    Serializable

    @Experimental
    public class WatermarkCombinationPolicy
    extends Object
    implements Serializable
    The WatermarkCombinationPolicy defines when and how to the combine Watermarks.

    The watermark combination process will first check the setting of combineWaitForAllChannels. If it is set to true, the ProcessFunction must receive watermarks from all input channels before it can proceed with the combination.

    The actual combination of watermarks will then be executed using the specified watermarkCombinationFunction.

    See Also:
    Serialized Form
    • Constructor Detail

      • WatermarkCombinationPolicy

        public WatermarkCombinationPolicy​(WatermarkCombinationFunction watermarkCombinationFunction,
                                          boolean combineWaitForAllChannels)
    • Method Detail

      • isCombineWaitForAllChannels

        public boolean isCombineWaitForAllChannels()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object