|
|
|
@ -38,7 +38,7 @@ public @interface PolarisConfigKVFileChangeListener {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The keys interested in the listener, will only be notified if any of the interested keys is changed.
|
|
|
|
|
* <br />
|
|
|
|
|
* <p>
|
|
|
|
|
* If neither of {@code interestedKeys} and {@code interestedKeyPrefixes} is specified then the {@code listener} will be notified when any key is changed.
|
|
|
|
|
* @return interested keys in the listener
|
|
|
|
|
*/
|
|
|
|
@ -49,7 +49,7 @@ public @interface PolarisConfigKVFileChangeListener {
|
|
|
|
|
* The prefixes will simply be used to determine whether the {@code listener} should be notified or not using {@code changedKey.startsWith(prefix)}.
|
|
|
|
|
* e.g. "spring." means that {@code listener} is interested in keys that starts with "spring.", such as "spring.banner", "spring.jpa", etc.
|
|
|
|
|
* and "application" means that {@code listener} is interested in keys that starts with "application", such as "applicationName", "application.port", etc.
|
|
|
|
|
* <br />
|
|
|
|
|
* <p>
|
|
|
|
|
* If neither of {@code interestedKeys} and {@code interestedKeyPrefixes} is specified then the {@code listener} will be notified when whatever key is changed.
|
|
|
|
|
* @return interested key-prefixed in the listener
|
|
|
|
|
*/
|
|
|
|
|