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