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 TypeMethodDescriptionvoidhandleStoreChanged(Store store) Notify the store change and maybe the corresponding system store change.voidhandleStoreCreated(Store store) Notify the store creation and maybe the corresponding system store creation.voidhandleStoreDeleted(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, waitMethods 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:
handleStoreCreatedin 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:
handleStoreDeletedin 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:
handleStoreChangedin interfaceStoreDataChangedListener- Parameters:
store-
-