public static interface AscendingTimestampExtractor.MonotonyViolationHandler extends Serializable
| 限定符和类型 | 方法和说明 |
|---|---|
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–2022 The Apache Software Foundation. All rights reserved.