Class WatermarkAlignmentEvent
- java.lang.Object
-
- org.apache.flink.runtime.source.event.WatermarkAlignmentEvent
-
- All Implemented Interfaces:
Serializable,OperatorEvent
public class WatermarkAlignmentEvent extends Object implements OperatorEvent
Signals source operators the maximum watermark that emitted records can have.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WatermarkAlignmentEvent(long maxWatermark)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)longgetMaxWatermark()inthashCode()booleanisLossTolerant()StringtoString()
-
-
-
Method Detail
-
getMaxWatermark
public long getMaxWatermark()
-
isLossTolerant
public boolean isLossTolerant()
- Specified by:
isLossTolerantin interfaceOperatorEvent- Returns:
- true, because even if lost,
WatermarkAlignmentEventwill re-send again, and it doesn't hold any critical information that could lead to a data loss.
-
-