Interface ReloadingStrategy

    • Method Detail

      • setConfiguration

        void setConfiguration​(FileConfiguration configuration)
        Set the configuration managed by this strategy.
        Parameters:
        configuration - the configuration to monitor
      • init

        void init()
        Initialize the strategy.
      • reloadingRequired

        boolean reloadingRequired()
        Tell if the evaluation of the strategy requires to reload the configuration.
        Returns:
        a flag whether a reload should be performed
      • reloadingPerformed

        void reloadingPerformed()
        Notify the strategy that the file has been reloaded.