Class ConfigurationUpdateStrategy

java.lang.Object
io.awspring.cloud.autoconfigure.config.reload.ConfigurationUpdateStrategy
All Implemented Interfaces:
Runnable

public class ConfigurationUpdateStrategy extends Object implements 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 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()
      Specified by:
      run in interface Runnable