Class AscendingTimestampExtractor.IgnoringHandler
java.lang.Object
org.apache.flink.streaming.api.functions.timestamps.AscendingTimestampExtractor.IgnoringHandler
- All Implemented Interfaces:
Serializable,AscendingTimestampExtractor.MonotonyViolationHandler
- Enclosing class:
- AscendingTimestampExtractor<T>
public static final class AscendingTimestampExtractor.IgnoringHandler
extends Object
implements AscendingTimestampExtractor.MonotonyViolationHandler
Handler that does nothing when timestamp monotony is violated.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleViolation(long elementTimestamp, long lastTimestamp) Called when the property of monotonously ascending timestamps is violated, i.e., whenelementTimestamp < lastTimestamp.
-
Constructor Details
-
IgnoringHandler
public IgnoringHandler()
-
-
Method Details
-
handleViolation
public void handleViolation(long elementTimestamp, long lastTimestamp) Description copied from interface:AscendingTimestampExtractor.MonotonyViolationHandlerCalled when the property of monotonously ascending timestamps is violated, i.e., whenelementTimestamp < lastTimestamp.- Specified by:
handleViolationin interfaceAscendingTimestampExtractor.MonotonyViolationHandler- Parameters:
elementTimestamp- The timestamp of the current element.lastTimestamp- The last timestamp.
-