public static interface AscendingTimestampExtractor.MonotonyViolationHandler extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
handleViolation(long elementTimestamp,
long lastTimestamp)
Called when the property of monotonously ascending timestamps is violated, i.e., when
elementTimestamp < lastTimestamp . |
void handleViolation(long elementTimestamp, long lastTimestamp)
elementTimestamp < lastTimestamp
.elementTimestamp
- The timestamp of the current element.lastTimestamp
- The last timestamp.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.