public static class SourceCoordinator.WatermarkElement extends AbstractHeapPriorityQueueElement implements PriorityComparable<SourceCoordinator.WatermarkElement>
HeapPriorityQueue
.NOT_CONTAINED
Constructor and Description |
---|
WatermarkElement(Watermark watermark) |
Modifier and Type | Method and Description |
---|---|
int |
comparePriorityTo(SourceCoordinator.WatermarkElement other) |
boolean |
equals(Object o) |
int |
hashCode() |
getInternalIndex, setInternalIndex
public WatermarkElement(Watermark watermark)
public int comparePriorityTo(@Nonnull SourceCoordinator.WatermarkElement other)
comparePriorityTo
in interface PriorityComparable<SourceCoordinator.WatermarkElement>
PriorityComparator.comparePriority(Object, Object).
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.