Class ConfigurationUpdateStrategy
java.lang.Object
io.awspring.cloud.autoconfigure.config.reload.ConfigurationUpdateStrategy
- All Implemented Interfaces:
Runnable
This is the superclass of all named strategies that can be fired when the configuration changes.
Heavily inspired by Spring Cloud Kubernetes.
- Author:
- Nicola Ferraro, Maciej Walkowiak
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigurationUpdateStrategy
create
(ReloadProperties reloadProperties, org.springframework.cloud.context.refresh.ContextRefresher refresher, Optional<org.springframework.cloud.context.restart.RestartEndpoint> restarter) void
run()
-
Method Details
-
create
public static ConfigurationUpdateStrategy create(ReloadProperties reloadProperties, org.springframework.cloud.context.refresh.ContextRefresher refresher, Optional<org.springframework.cloud.context.restart.RestartEndpoint> restarter) -
run
public void run()
-