|
|||||||||
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 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. |
|
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, stopLoading |
Methods inherited from class com.netflix.config.ConcurrentMapConfiguration |
---|
addConfigurationListener, addErrorListener, addProperty, addPropertyDirect, clear, clearConfigurationListeners, clearErrorListeners, clearPropertyDirect, containsKey, copy, fireError, fireEvent, getConfigurationListeners, getErrorListeners, getKeys, getProperties, getProperty, isEmpty, loadProperties, removeConfigurationListener, removeErrorListener, setProperty |
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.
public DynamicURLConfiguration(int initialDelayMillis, int delayMillis, boolean ignoreDeletesFromSource, java.lang.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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |