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 java.lang.Object implements StoreDataChangedListener
StoreDataChangedListener
to handle all the events fromHelixReadOnlyStoreRepositoryAdapter.regularStoreDataChangedListener
.
-
-
Constructor Summary
Constructors Constructor Description VeniceStoreDataChangedListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
-
-
-
-
Method Detail
-
handleStoreCreated
public void handleStoreCreated(Store store)
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
public void handleStoreDeleted(Store store)
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
public void handleStoreChanged(Store store)
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
-
-
-