Interface WriteableDao<T>

    • Method Detail

      • getWriteableConfig

        T getWriteableConfig()
        This method returns the mutable configuration object for which any changes made to it will be persisted and reflected after a call to saveConfig().
      • saveConfig

        void saveConfig()
        Save the current configuration held by the DAO.

        The configuration held by the DAO may not necessarily be the same configuration reference as returned by getWriteableConfig() if the config has been reloaded in between calls. This implies any changes to the reference returned by getWriteableConfig() will not be reflected when saved in this case.

      • onConfigChanged

        void onConfigChanged()
        Notify the DAO that the configuration it tracks has changed.

        Call this method after updating the filesystem configuration directly or after providing a config extension.