Package com.linkedin.davinci.notifier
Class PushStatusNotifier
java.lang.Object
com.linkedin.davinci.notifier.PushStatusNotifier
- All Implemented Interfaces:
- VeniceNotifier,- Closeable,- AutoCloseable
Notifies both OfflinePushStatus and Helix Customized View
- 
Constructor SummaryConstructorsConstructorDescriptionPushStatusNotifier(OfflinePushAccessor offlinePushAccessor, HelixPartitionStatusAccessor helixPartitionStatusAccessor, PushStatusStoreWriter pushStatusStoreWriter, ReadOnlyStoreRepository storeRepository, String instanceId, VeniceServerConfig.IncrementalPushStatusWriteMode incrementalPushStatusWriteMode) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidbatchEndOfIncrementalPushReceived(String topic, int partitionId, PubSubPosition position, List<String> pendingReportIncPushVersionList) voidclose()The Process is shutting down and clean up the resources associated with the Notifier.voidcompleted(String topic, int partitionId, PubSubPosition position, String message) voiddataRecoveryCompleted(String kafkaTopic, int partitionId, PubSubPosition position, String message) voidendOfIncrementalPushReceived(String topic, int partitionId, PubSubPosition position, String message) voidendOfPushReceived(String topic, int partitionId, PubSubPosition position, String message) voidReport an error, during the consumption for a Partitions and store.voidprogress(String topic, int partitionId, PubSubPosition position, String message) voidquotaNotViolated(String topic, int partitionId, PubSubPosition position, String message) voidquotaViolated(String topic, int partitionId, PubSubPosition position, String message) voidrestarted(String topic, int partitionId, PubSubPosition position, String message) voidvoidstartOfIncrementalPushReceived(String topic, int partitionId, PubSubPosition position, String message) voidtopicSwitchReceived(String topic, int partitionId, PubSubPosition position, String message) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.linkedin.davinci.notifier.VeniceNotifiercatchUpVersionTopicOffsetLag, completed, endOfIncrementalPushReceived, endOfPushReceived, progress, quotaNotViolated, quotaViolated, restarted, started, startOfIncrementalPushReceived, stopped, topicSwitchReceived
- 
Constructor Details- 
PushStatusNotifierpublic PushStatusNotifier(OfflinePushAccessor offlinePushAccessor, HelixPartitionStatusAccessor helixPartitionStatusAccessor, PushStatusStoreWriter pushStatusStoreWriter, ReadOnlyStoreRepository storeRepository, String instanceId, VeniceServerConfig.IncrementalPushStatusWriteMode incrementalPushStatusWriteMode) 
 
- 
- 
Method Details- 
started- Specified by:
- startedin interface- VeniceNotifier
 
- 
restarted- Specified by:
- restartedin interface- VeniceNotifier
 
- 
completed- Specified by:
- completedin interface- VeniceNotifier
 
- 
quotaViolated- Specified by:
- quotaViolatedin interface- VeniceNotifier
 
- 
quotaNotViolatedpublic void quotaNotViolated(String topic, int partitionId, PubSubPosition position, String message) - Specified by:
- quotaNotViolatedin interface- VeniceNotifier
 
- 
progress- Specified by:
- progressin interface- VeniceNotifier
 
- 
endOfPushReceivedpublic void endOfPushReceived(String topic, int partitionId, PubSubPosition position, String message) - Specified by:
- endOfPushReceivedin interface- VeniceNotifier
 
- 
topicSwitchReceivedpublic void topicSwitchReceived(String topic, int partitionId, PubSubPosition position, String message) - Specified by:
- topicSwitchReceivedin interface- VeniceNotifier
 
- 
dataRecoveryCompletedpublic void dataRecoveryCompleted(String kafkaTopic, int partitionId, PubSubPosition position, String message) - Specified by:
- dataRecoveryCompletedin interface- VeniceNotifier
 
- 
startOfIncrementalPushReceivedpublic void startOfIncrementalPushReceived(String topic, int partitionId, PubSubPosition position, String message) - Specified by:
- startOfIncrementalPushReceivedin interface- VeniceNotifier
 
- 
endOfIncrementalPushReceivedpublic void endOfIncrementalPushReceived(String topic, int partitionId, PubSubPosition position, String message) - Specified by:
- endOfIncrementalPushReceivedin interface- VeniceNotifier
 
- 
batchEndOfIncrementalPushReceivedpublic void batchEndOfIncrementalPushReceived(String topic, int partitionId, PubSubPosition position, List<String> pendingReportIncPushVersionList) - Specified by:
- batchEndOfIncrementalPushReceivedin interface- VeniceNotifier
 
- 
closepublic void close()Description copied from interface:VeniceNotifierThe Process is shutting down and clean up the resources associated with the Notifier. N.B. When implementing the method, make it idempotent.- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Specified by:
- closein interface- VeniceNotifier
 
- 
errorDescription copied from interface:VeniceNotifierReport an error, during the consumption for a Partitions and store. The error may or may not be fatal.- Specified by:
- errorin interface- VeniceNotifier
 
 
-