public class SkewedProcessingTimeIdlePolicy extends java.lang.Object implements WatermarkIdlePolicy
| Modifier and Type | Class and Description |
|---|---|
static class |
SkewedProcessingTimeIdlePolicy.Factory |
| Modifier and Type | Field and Description |
|---|---|
private long |
currentWatermark |
static long |
DEFAULT_TIMESTAMP_SKEW |
private static long |
serialVersionUID |
static java.lang.String |
TIMESTAMP_SKEW |
private long |
timestampSkew |
private TimestampSupplier |
timestampSupplier |
| Constructor and Description |
|---|
SkewedProcessingTimeIdlePolicy(long timestampSkew) |
SkewedProcessingTimeIdlePolicy(long timestampSkew,
TimestampSupplier timestampSupplier) |
| Modifier and Type | Method and Description |
|---|---|
long |
getIdleWatermark() |
void |
idle(long currentWatermark) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitupdateprivate static final long serialVersionUID
public static final java.lang.String TIMESTAMP_SKEW
public static final long DEFAULT_TIMESTAMP_SKEW
private final long timestampSkew
private final TimestampSupplier timestampSupplier
private long currentWatermark
SkewedProcessingTimeIdlePolicy(long timestampSkew)
SkewedProcessingTimeIdlePolicy(long timestampSkew,
TimestampSupplier timestampSupplier)
public long getIdleWatermark()
getIdleWatermark in interface WatermarkIdlePolicypublic void idle(long currentWatermark)
idle in interface WatermarkIdlePolicyCopyright © 2017–2021. All rights reserved.