public static final class AscendingTimestampExtractor.LoggingHandler extends Object implements AscendingTimestampExtractor.MonotonyViolationHandler
构造器和说明 |
---|
LoggingHandler() |
限定符和类型 | 方法和说明 |
---|---|
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)
elementTimestamp < lastTimestamp
.handleViolation
在接口中 AscendingTimestampExtractor.MonotonyViolationHandler
elementTimestamp
- The timestamp of the current element.lastTimestamp
- The last timestamp.Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.