public static final class AscendingTimestampExtractor.LoggingHandler extends Object implements AscendingTimestampExtractor.MonotonyViolationHandler
Constructor and Description |
---|
LoggingHandler() |
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 . |
public void handleViolation(long elementTimestamp, long lastTimestamp)
AscendingTimestampExtractor.MonotonyViolationHandler
elementTimestamp < lastTimestamp
.handleViolation
in interface AscendingTimestampExtractor.MonotonyViolationHandler
elementTimestamp
- The timestamp of the current element.lastTimestamp
- The last timestamp.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.