Interface RefreshableProviderMetadataResolver

    • Method Detail

      • refresh

        void refresh()
              throws ResolverException
        Refresh the data exposed by the resolver.

        An implementation of this method should typically be either synchronized or make use other locking mechanisms to protect against concurrent access.

        Throws:
        ResolverException - if the refresh operation was unsuccessful
      • getLastRefresh

        @Nullable
        Instant getLastRefresh()
        Gets the time the last refresh cycle occurred.
        Returns:
        time the last refresh cycle occurred
      • getLastUpdate

        @Nullable
        Instant getLastUpdate()
        Get the time that the currently available metadata was last updated. Note, this may be different than the time retrieved by getLastRefresh() is the metadata was known not to have changed during the last refresh cycle.
        Returns:
        time when the currently metadata was last updated, null if it has never successfully been read in