Class LowWatermarkHolder
java.lang.Object
io.debezium.connector.spanner.task.LowWatermarkHolder
- All Implemented Interfaces:
LowWatermarkProvider
A wrapper class for watermark data
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.cloud.TimestampReturns a watermark, may block a threadvoidsetLowWatermark(com.google.cloud.Timestamp lowWatermark)
-
Field Details
-
lastWatermark
-
-
Constructor Details
-
LowWatermarkHolder
public LowWatermarkHolder()
-
-
Method Details
-
getLowWatermark
Description copied from interface:LowWatermarkProviderReturns a watermark, may block a thread- Specified by:
getLowWatermarkin interfaceLowWatermarkProvider- Returns:
- Timestamp low watermark
- Throws:
InterruptedException- if any thread has interrupted the current thread.
-
setLowWatermark
public void setLowWatermark(com.google.cloud.Timestamp lowWatermark)
-