Package com.linkedin.venice.helix
Class HelixReadOnlyStoreRepositoryAdapter.VeniceStoreDataChangedListener
java.lang.Object
com.linkedin.venice.helix.HelixReadOnlyStoreRepositoryAdapter.VeniceStoreDataChangedListener
- All Implemented Interfaces:
StoreDataChangedListener
- Enclosing class:
- HelixReadOnlyStoreRepositoryAdapter
public class HelixReadOnlyStoreRepositoryAdapter.VeniceStoreDataChangedListener
extends Object
implements StoreDataChangedListener
StoreDataChangedListener
to handle all the events from HelixReadOnlyStoreRepositoryAdapter.regularStoreDataChangedListener
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleStoreChanged
(Store store) Notify the store change and maybe the corresponding system store change.void
handleStoreCreated
(Store store) Notify the store creation and maybe the corresponding system store creation.void
handleStoreDeleted
(Store store) Notify the store deletion and maybe the corresponding system store deletion.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.linkedin.venice.meta.StoreDataChangedListener
handleStoreDeleted
-
Constructor Details
-
VeniceStoreDataChangedListener
public VeniceStoreDataChangedListener()
-
-
Method Details
-
handleStoreCreated
Notify the store creation and maybe the corresponding system store creation. TODO: so far, this function only supportsVeniceSystemStoreType.META_STORE
, and if you plan to support more system store types, this function needs to be changed accordingly.- Specified by:
handleStoreCreated
in interfaceStoreDataChangedListener
- Parameters:
store
-
-
handleStoreDeleted
Notify the store deletion and maybe the corresponding system store deletion. TODO: so far, this function only supportsVeniceSystemStoreType.META_STORE
, and if you plan to support more system store types, this function needs to be changed accordingly.- Specified by:
handleStoreDeleted
in interfaceStoreDataChangedListener
- Parameters:
store
-
-
handleStoreChanged
Notify the store change and maybe the corresponding system store change. TODO: so far, this function only supportsVeniceSystemStoreType.META_STORE
, and if you plan to support more system store types, this function needs to be changed accordingly.- Specified by:
handleStoreChanged
in interfaceStoreDataChangedListener
- Parameters:
store
-
-