Class ConfigReloadUtil
java.lang.Object
org.springframework.cloud.kubernetes.commons.config.reload.ConfigReloadUtil
- Author:
- wind57
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanreload(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 booleanreload(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.
-
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.
-