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.
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.cloud.TimestampFetches the earliest partition watermark from the partition metadata table that is not in aPartitionMetadata.State.FINISHEDstate.
-
Method Details
-
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.
-