@PublicEvolving public class JobManagerWatermarkTracker extends WatermarkTracker
WatermarkTracker that shares state through GlobalAggregateManager.| Modifier and Type | Class and Description |
|---|---|
protected static class |
JobManagerWatermarkTracker.WatermarkResult
Watermark aggregation result.
|
protected static class |
JobManagerWatermarkTracker.WatermarkUpdate
Watermark aggregation input.
|
WatermarkTracker.WatermarkStateDEFAULT_UPDATE_TIMEOUT_MILLIS| Constructor and Description |
|---|
JobManagerWatermarkTracker(String aggregateName) |
JobManagerWatermarkTracker(String aggregateName,
long logAccumulatorIntervalMillis) |
| Modifier and Type | Method and Description |
|---|---|
long |
getUpdateTimeoutCount() |
void |
open(org.apache.flink.api.common.functions.RuntimeContext context) |
long |
updateWatermark(long localWatermark)
Set the current watermark of the owning subtask and return the global low watermark based on
the current state snapshot.
|
close, getCurrentTime, getSubtaskId, getUpdateTimeoutMillis, setUpdateTimeoutMillispublic JobManagerWatermarkTracker(String aggregateName)
public JobManagerWatermarkTracker(String aggregateName, long logAccumulatorIntervalMillis)
public long updateWatermark(long localWatermark)
WatermarkTrackerupdateWatermark in class WatermarkTrackerpublic void open(org.apache.flink.api.common.functions.RuntimeContext context)
open in class WatermarkTrackerpublic long getUpdateTimeoutCount()
getUpdateTimeoutCount in class WatermarkTrackerCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.