Skip to content

Reload strategies

Javier Diaz edited this page Aug 19, 2018 · 1 revision

A reload strategy is to know when a ConfigProvider must reload the underlying ConfigLoader to get all the updated configuration.

Supported reload strategies:

  1. TimedReloadStrategy: This will reload the properties on a time basis.
  2. FileChangeReloadStrategy: This will reload when a file content has changed. This will only look for edits on the file that is passed as argument and this should be the same file than in the ConfigLoader
Clone this wiki locally