public class DynamicURLConfiguration extends DynamicConfiguration
DISABLE_DELIMITER_PARSING, map| Constructor and Description |
|---|
DynamicURLConfiguration()
Create an instance with default
URLConfigurationSource.URLConfigurationSource() and
FixedDelayPollingScheduler.FixedDelayPollingScheduler() and start polling the source
if there is any URLs available for polling. |
DynamicURLConfiguration(int initialDelayMillis,
int delayMillis,
boolean ignoreDeletesFromSource,
java.lang.String... urls)
Create an instance and start polling the source.
|
getSource, init, startPolling, stopLoadingaddConfigurationListener, addErrorListener, addProperty, addPropertyDirect, addPropertyImpl, clear, clearConfigurationListeners, clearErrorListeners, clearPropertyDirect, containsKey, copy, fireError, fireEvent, getConfigurationListeners, getErrorListeners, getKeys, getProperties, getProperty, isEmpty, loadProperties, removeConfigurationListener, removeErrorListener, setProperty, setPropertyImplpublic DynamicURLConfiguration()
URLConfigurationSource.URLConfigurationSource() and
FixedDelayPollingScheduler.FixedDelayPollingScheduler() and start polling the source
if there is any URLs available for polling.public DynamicURLConfiguration(int initialDelayMillis,
int delayMillis,
boolean ignoreDeletesFromSource,
java.lang.String... urls)
initialDelayMillis - initial delay in milliseconds used by FixedDelayPollingSchedulerdelayMillis - delay interval in milliseconds used by FixedDelayPollingSchedulerignoreDeletesFromSource - whether the scheduler should ignore deletes of properties from configuration source when
applying the polling result to a configuration.urls - The set of URLs to be polled by URLConfigurationSource