Interface PollableSource<S>

    • Method Detail

      • isModified

        boolean isModified​(S stamp)
        This method is invoked to check if this source has changed.
        Parameters:
        stamp - the stamp of the last loaded content
        Returns:
        true if the current data of this config source differ from the loaded data, including cases when the source has disappeared
      • pollingStrategy

        Optional<PollingStrategy> pollingStrategy()
        If a polling strategy is configured with this source, return it. The source implementation does not need to handle polling strategy.
        Returns:
        polling strategy if one is configured on this source