public class DynamicURLConfiguration extends DynamicConfiguration
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,
String... urls)
Create an instance and start polling the source.
|
getSource, init, startPolling, stopLoading
addConfigurationListener, addErrorListener, addProperty, addPropertyDirect, addPropertyImpl, clear, clearConfigurationListeners, clearErrorListeners, clearPropertyDirect, containsKey, copy, fireError, fireEvent, getConfigurationListeners, getErrorListeners, getKeys, getProperties, getProperty, isEmpty, loadProperties, removeConfigurationListener, removeErrorListener, setProperty, setPropertyImpl
addErrorLogListener, append, clearProperty, createInterpolator, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getDefaultListDelimiter, getDelimiter, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInteger, getInterpolator, getKeys, getList, getList, getListDelimiter, getLogger, getLong, getLong, getLong, getProperties, getProperties, getShort, getShort, getShort, getString, getString, getStringArray, getSubstitutor, interpolate, interpolate, interpolatedConfiguration, interpolateHelper, isDelimiterParsingDisabled, isScalarValue, isThrowExceptionOnMissing, resolveContainerStore, setDefaultListDelimiter, setDelimiter, setDelimiterParsingDisabled, setListDelimiter, setLogger, setThrowExceptionOnMissing, subset
public 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, String... urls)
initialDelayMillis
- initial delay in milliseconds used by FixedDelayPollingScheduler
delayMillis
- delay interval in milliseconds used by FixedDelayPollingScheduler
ignoreDeletesFromSource
- 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
Copyright © 2015. All Rights Reserved.