Class StoragePersonaRepository.StoragePersonaStoreDataListener

    • Constructor Detail

    • Method Detail

      • handleStoreCreated

        public void handleStoreCreated​(Store store)
        Currently, specifying a persona that a store should be added to is not supported. Thus, this method does nothing for now, but may be implemented in future versions.
        Specified by:
        handleStoreCreated in interface StoreDataChangedListener
      • handleStoreDeleted

        public void handleStoreDeleted​(java.lang.String storeName)
        This function removes the given store (if it exists) from any existing personas, both in the cache and in ZK, and then removes the mapping from the store to the personas.
        Specified by:
        handleStoreDeleted in interface StoreDataChangedListener
      • handleStoreChanged

        public void handleStoreChanged​(Store store)
        Currently, changing the size of a store while it is part of a persona is undefined behavior. Thus, this method does nothing for now, but may be implemented in future versions.
        Specified by:
        handleStoreChanged in interface StoreDataChangedListener