|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.configuration.event.EventSource
org.apache.commons.configuration.AbstractConfiguration
com.netflix.config.ConcurrentMapConfiguration
com.netflix.config.DynamicConfiguration
com.netflix.config.DynamicURLConfiguration
public class DynamicURLConfiguration
A DynamicConfiguration that uses a URLConfigurationSource and
FixedDelayPollingScheduler.
| Field Summary |
|---|
| Fields inherited from class com.netflix.config.ConcurrentMapConfiguration |
|---|
map |
| Fields inherited from class org.apache.commons.configuration.AbstractConfiguration |
|---|
END_TOKEN, EVENT_ADD_PROPERTY, EVENT_CLEAR, EVENT_CLEAR_PROPERTY, EVENT_READ_PROPERTY, EVENT_SET_PROPERTY, START_TOKEN |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary |
|---|
| Methods inherited from class com.netflix.config.DynamicConfiguration |
|---|
getSource, init, startPolling, stopLoading |
| Methods inherited from class com.netflix.config.ConcurrentMapConfiguration |
|---|
addConfigurationListener, addErrorListener, addProperty, addPropertyDirect, addPropertyImpl, clear, clearConfigurationListeners, clearErrorListeners, clearPropertyDirect, containsKey, copy, fireError, fireEvent, getConfigurationListeners, getErrorListeners, getKeys, getProperties, getProperty, isEmpty, loadProperties, removeConfigurationListener, removeErrorListener, setProperty, setPropertyImpl |
| Methods inherited from class org.apache.commons.configuration.AbstractConfiguration |
|---|
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 |
| Methods inherited from class org.apache.commons.configuration.event.EventSource |
|---|
clone, createErrorEvent, createEvent, isDetailEvents, setDetailEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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,
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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||