Interface ProgressTracker
- All Known Implementing Classes:
InMemoryProgressTracker,JdbcProgressTracker
public interface ProgressTracker
Interface specifying operations for tracking progress of event processing groups.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the currentProgressfor the specified event processing group and partition.void
-
Method Details
-
current
Retrieves the currentProgressfor the specified event processing group and partition.- Parameters:
group- the processing group identifierpartition- the partition number- Returns:
- the current progress
-
proceed
Proceeds the currentProgressby executing the givenSupplier, which in turn yields the new progress for the specified event processing group and partition.- Parameters:
group- the processing group identifierpartition- the partition numberexecution- the supplier returning the new progress, if executed successfully
-