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 boolean
equals(Object o)
long
getMaxWatermark()
int
hashCode()
boolean
isLossTolerant()
String
toString()
-
-
-
Method Detail
-
getMaxWatermark
public long getMaxWatermark()
-
isLossTolerant
public boolean isLossTolerant()
- Specified by:
isLossTolerant
in interfaceOperatorEvent
- Returns:
- true, because even if lost,
WatermarkAlignmentEvent
will re-send again, and it doesn't hold any critical information that could lead to a data loss.
-
-