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 Details

    • VeniceStoreDataChangedListener

      public VeniceStoreDataChangedListener()
  • Method Details

    • handleStoreCreated

      public void handleStoreCreated(Store store)
      Notify the store creation and maybe the corresponding system store creation. TODO: so far, this function only supports VeniceSystemStoreType.META_STORE, and if you plan to support more system store types, this function needs to be changed accordingly.
      Specified by:
      handleStoreCreated in interface StoreDataChangedListener
      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 supports VeniceSystemStoreType.META_STORE, and if you plan to support more system store types, this function needs to be changed accordingly.
      Specified by:
      handleStoreDeleted in interface StoreDataChangedListener
      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 supports VeniceSystemStoreType.META_STORE, and if you plan to support more system store types, this function needs to be changed accordingly.
      Specified by:
      handleStoreChanged in interface StoreDataChangedListener
      Parameters:
      store -