Package com.linkedin.venice.controller
Interface VeniceVersionLifecycleEventListener
public interface VeniceVersionLifecycleEventListener
Listener for lifecycle events of a Venice version.
An instance of this interface is notified when a new version is created or when an existing version is deleted.
The listener methods are called in order with concurrency control enforced by the store level write lock in
HelixVeniceClusterResources
. i.e. The system ensures that only one version lifecycle event is active at a
time and guarantees the order of events.-
Method Summary
Modifier and TypeMethodDescriptionvoid
onVersionBecomingBackup
(Version version, boolean isSourceCluster) void
onVersionBecomingCurrentFromBackup
(Version version, boolean isSourceCluster) void
onVersionBecomingCurrentFromFuture
(Version version, boolean isSourceCluster) void
onVersionCreated
(Version version, boolean isSourceCluster) void
onVersionDeleted
(Version version, boolean isSourceCluster)
-
Method Details
-
onVersionCreated
-
onVersionDeleted
-
onVersionBecomingCurrentFromFuture
-
onVersionBecomingCurrentFromBackup
-
onVersionBecomingBackup
-