code: public void initialize(NewRelicCache cache)
      {
          String apiKey = cache.getApiKey();
          if(apiKey == null)
              throw new IllegalArgumentException("null API key");
  
          logger.info("Initialising the clients");
  
          initialized = false;
          if(cache.isAlertsEnabled())
          {
              apiClient = NewRelicApi.builder().apiKey(apiKey).build();
              infraApiClient = NewRelicInfraApi.builder().apiKey(apiKey).build();
              syntheticsApiClient = NewRelicSyntheticsApi.builder().apiKey(apiKey).build();
          }
  
          logger.info("Initialised the clients");
  
          initialized = true;
      }
docs: Called after setting configuration properties.
  @param cache The provider cache