@Internal public class WatermarkQueueEntry extends StreamElementQueueEntry<Watermark> implements AsyncWatermarkResult
StreamElementQueueEntry
implementation for the Watermark
.Constructor and Description |
---|
WatermarkQueueEntry(Watermark watermark) |
Modifier and Type | Method and Description |
---|---|
protected CompletableFuture<Watermark> |
getFuture() |
Watermark |
getWatermark()
Get the resulting watermark.
|
asResultCollection, asWatermark, getStreamElement, isDone, isResultCollection, isWatermark, onComplete
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asResultCollection, asWatermark, isResultCollection, isWatermark
public WatermarkQueueEntry(Watermark watermark)
public Watermark getWatermark()
AsyncWatermarkResult
getWatermark
in interface AsyncWatermarkResult
protected CompletableFuture<Watermark> getFuture()
getFuture
in class StreamElementQueueEntry<Watermark>
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.