Package com.linkedin.davinci.helix
Class StateModelIngestionProgressNotifier
java.lang.Object
com.linkedin.davinci.helix.StateModelIngestionProgressNotifier
- All Implemented Interfaces:
VeniceNotifier
,Closeable
,AutoCloseable
- Direct Known Subclasses:
LeaderFollowerIngestionProgressNotifier
This class notifies the Helix State Models (SM) about corresponding ingestion progress.
The class also holds latches that can be used in SM in the cases when state transitions
need to coordinate with ingestion progress.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Report an error, during the consumption for a Partitions and store.void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.linkedin.davinci.notifier.VeniceNotifier
batchEndOfIncrementalPushReceived, catchUpVersionTopicOffsetLag, close, completed, dataRecoveryCompleted, endOfIncrementalPushReceived, endOfIncrementalPushReceived, endOfPushReceived, endOfPushReceived, progress, progress, quotaNotViolated, quotaNotViolated, quotaViolated, quotaViolated, restarted, restarted, started, started, startOfIncrementalPushReceived, startOfIncrementalPushReceived, topicSwitchReceived, topicSwitchReceived
-
Constructor Details
-
StateModelIngestionProgressNotifier
public StateModelIngestionProgressNotifier()
-
-
Method Details
-
completed
- Specified by:
completed
in interfaceVeniceNotifier
-
error
Description copied from interface:VeniceNotifier
Report an error, during the consumption for a Partitions and store. The error may or may not be fatal.- Specified by:
error
in interfaceVeniceNotifier
-
stopped
- Specified by:
stopped
in interfaceVeniceNotifier
-