Package com.linkedin.venice.meta
Interface RoutingDataRepository.RoutingDataChangedListener
- All Known Implementing Classes:
AbstractPushMonitor
,AggPartitionHealthStats
,PartitionStatusBasedPushMonitor
,ReadQuotaEnforcementHandler
- Enclosing interface:
- RoutingDataRepository
public static interface RoutingDataRepository.RoutingDataChangedListener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onCustomizedViewAdded
(PartitionAssignment partitionAssignment) void
onCustomizedViewChange
(PartitionAssignment partitionAssignment) void
onExternalViewChange
(PartitionAssignment partitionAssignment) Handle routing data changed event.void
onPartitionStatusChange
(String topic, ReadOnlyPartitionStatus partitionStatus) void
onRoutingDataDeleted
(String kafkaTopic)
-
Method Details
-
onExternalViewChange
Handle routing data changed event.- Parameters:
partitionAssignment
- Newest partitions assignments information including resource name and all of instances assigned to this resource. If the number of partition is 0, it means the kafka topic is deleted.
-
onCustomizedViewChange
-
onCustomizedViewAdded
-
onPartitionStatusChange
-
onRoutingDataDeleted
-