Class ConfigReloadUtil

java.lang.Object
org.springframework.cloud.kubernetes.commons.config.reload.ConfigReloadUtil

public final class ConfigReloadUtil extends Object
Author:
wind57
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    reload(String target, String sourceAsString, org.springframework.cloud.bootstrap.config.PropertySourceLocator locator, org.springframework.core.env.ConfigurableEnvironment environment, Class<? extends org.springframework.core.env.MapPropertySource> existingSourcesType)
    used for the event based reloading.
    static boolean
    reload(org.springframework.cloud.bootstrap.config.PropertySourceLocator locator, org.springframework.core.env.ConfigurableEnvironment environment, Class<? extends org.springframework.core.env.MapPropertySource> existingSourcesType)
    used for the poll based reloading.

    Methods inherited from class Object

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

    • reload

      public static boolean reload(String target, String sourceAsString, org.springframework.cloud.bootstrap.config.PropertySourceLocator locator, org.springframework.core.env.ConfigurableEnvironment environment, Class<? extends org.springframework.core.env.MapPropertySource> existingSourcesType)
      used for the event based reloading.
    • reload

      public static boolean reload(org.springframework.cloud.bootstrap.config.PropertySourceLocator locator, org.springframework.core.env.ConfigurableEnvironment environment, Class<? extends org.springframework.core.env.MapPropertySource> existingSourcesType)
      used for the poll based reloading.