Package cz.o2.proxima.direct.core.time
Class NotProgressingWatermarkIdlePolicy
- java.lang.Object
-
- cz.o2.proxima.direct.core.time.NotProgressingWatermarkIdlePolicy
-
- All Implemented Interfaces:
WatermarkIdlePolicy,java.io.Serializable
public class NotProgressingWatermarkIdlePolicy extends java.lang.Object implements WatermarkIdlePolicy
Idle policy doesn't progress watermark on idle.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNotProgressingWatermarkIdlePolicy.Factory
-
Constructor Summary
Constructors Constructor Description NotProgressingWatermarkIdlePolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetIdleWatermark()Returns watermark for idle source.voididle(long currentWatermark)Signals that a source is idle.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface cz.o2.proxima.core.time.WatermarkIdlePolicy
update
-
-
-
-
Method Detail
-
idle
public void idle(long currentWatermark)
Description copied from interface:WatermarkIdlePolicySignals that a source is idle.- Specified by:
idlein interfaceWatermarkIdlePolicy- Parameters:
currentWatermark- the most recent watermark estimated by watermark estimatorWatermarkEstimator.
-
getIdleWatermark
public long getIdleWatermark()
Description copied from interface:WatermarkIdlePolicyReturns watermark for idle source.- Specified by:
getIdleWatermarkin interfaceWatermarkIdlePolicy- Returns:
- the watermark.
-
-