Class UserSystemStoreLifeCycleHelper


  • public class UserSystemStoreLifeCycleHelper
    extends java.lang.Object
    This class is responsible for automatically create and delete per user store system store resources when the corresponding user store is created or deleted.
    • Method Detail

      • materializeSystemStoresForUserStore

        public java.util.List<VeniceSystemStoreType> materializeSystemStoresForUserStore​(java.lang.String clusterName,
                                                                                         java.lang.String userStoreName)
      • materializeSystemStore

        public static Version materializeSystemStore​(VeniceParentHelixAdmin parentAdmin,
                                                     java.lang.String clusterName,
                                                     java.lang.String systemStoreName,
                                                     java.lang.String pushJobId)
      • maybeCreateSystemStoreWildcardAcl

        public void maybeCreateSystemStoreWildcardAcl​(java.lang.String storeName)
      • isSystemStoreTypeEnabledInUserStore

        public static boolean isSystemStoreTypeEnabledInUserStore​(Store userStore,
                                                                  VeniceSystemStoreType systemStoreType)
        This method checks if a specific system store type is enabled in a given user store.