Class RemoteConfigProvider

  • All Implemented Interfaces:

    
    public final class RemoteConfigProvider
    
                        

    RemoteConfigProvider is responsible for fetching and managing remote configs. It handles network requests to fetch configs, validates the responses, and updates the local cache and listeners accordingly. The class also supports retry mechanisms with exponential backoff in case of network failures.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final <Error class: unknown class> fetchConfigs(String accountId, RootConfig rootConfig, List<ConfigRequestContext> configRequestContexts) Fetches configurations from the remote server based on the provided request model.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • fetchConfigs

         final <Error class: unknown class> fetchConfigs(String accountId, RootConfig rootConfig, List<ConfigRequestContext> configRequestContexts)

        Fetches configurations from the remote server based on the provided request model. It groups the fetch models by URL and initiates concurrent fetch operations.