Class ConcurrentConfiguration
- java.lang.Object
- 
- org.apache.commons.configuration.event.EventSource
- 
- org.apache.commons.configuration.AbstractConfiguration
- 
- org.apache.bookkeeper.common.conf.ConcurrentConfiguration
 
 
 
- 
- All Implemented Interfaces:
- org.apache.commons.configuration.Configuration
 
 public class ConcurrentConfiguration extends org.apache.commons.configuration.AbstractConfigurationConfiguration view built on concurrent hash map for fast thread-safe access.Notes: Multi-property list aggregation will not work in this class. I.e. commons config normally combines all properties with the same key into one list property automatically. This class simply overwrites any existing mapping. 
- 
- 
Constructor SummaryConstructors Constructor Description ConcurrentConfiguration()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddPropertyDirect(java.lang.String key, java.lang.Object value)protected voidclearPropertyDirect(java.lang.String key)booleancontainsKey(java.lang.String key)java.util.IteratorgetKeys()java.lang.ObjectgetProperty(java.lang.String key)booleanisEmpty()- 
Methods inherited from class org.apache.commons.configuration.AbstractConfigurationaddErrorLogListener, addProperty, append, clear, clearProperty, copy, 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, setProperty, setThrowExceptionOnMissing, subset
 - 
Methods inherited from class org.apache.commons.configuration.event.EventSourceaddConfigurationListener, addErrorListener, clearConfigurationListeners, clearErrorListeners, clone, createErrorEvent, createEvent, fireError, fireEvent, getConfigurationListeners, getErrorListeners, isDetailEvents, removeConfigurationListener, removeErrorListener, setDetailEvents
 
- 
 
- 
- 
- 
Method Detail- 
addPropertyDirectprotected void addPropertyDirect(java.lang.String key, java.lang.Object value)- Specified by:
- addPropertyDirectin class- org.apache.commons.configuration.AbstractConfiguration
 
 - 
getPropertypublic java.lang.Object getProperty(java.lang.String key) 
 - 
getKeyspublic java.util.Iterator getKeys() 
 - 
containsKeypublic boolean containsKey(java.lang.String key) 
 - 
isEmptypublic boolean isEmpty() 
 - 
clearPropertyDirectprotected void clearPropertyDirect(java.lang.String key) - Overrides:
- clearPropertyDirectin class- org.apache.commons.configuration.AbstractConfiguration
 
 
- 
 
-