org.zodic.kubernetes.confcenter.reload.ConfigReloadStrategy Maven / Gradle / Ivy
package org.zodic.kubernetes.confcenter.reload;
public enum ConfigReloadStrategy {
/**
* Fire a refresh of beans annotated with @ConfigurationProperties or @RefreshScope.
*/
REFRESH,
/**
* Restarts the Spring ApplicationContext to apply the new configuration.
*/
RESTART_CONTEXT,
/**
* Shuts down the Spring ApplicationContext to activate a restart of the container. Make sure that the lifecycle
* of all non-daemon threads is bound to the ApplicationContext and that a replication controller or replica set
* is configured to restart the pod.
*/
SHUTDOWN
}