Interface WatermarkCache
-
- All Known Implementing Classes:
AsyncWatermarkCache,NoOpWatermarkCache
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface WatermarkCache
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.cloud.TimestampgetUnfinishedMinWatermark()Fetches the earliest partition watermark from the partition metadata table that is not in aPartitionMetadata.State.FINISHEDstate.
-
-
-
Method Detail
-
getUnfinishedMinWatermark
@Nullable com.google.cloud.Timestamp getUnfinishedMinWatermark()
Fetches the earliest partition watermark from the partition metadata table that is not in aPartitionMetadata.State.FINISHEDstate.- Returns:
- the earliest partition watermark which is not in a
PartitionMetadata.State.FINISHEDstate.
-
-