Class FileSystemDynamicConfiguration
java.lang.Object
org.apache.dubbo.common.config.configcenter.AbstractDynamicConfiguration
org.apache.dubbo.common.config.configcenter.TreePathDynamicConfiguration
org.apache.dubbo.common.config.configcenter.file.FileSystemDynamicConfiguration
- All Implemented Interfaces:
AutoCloseable,DynamicConfiguration,Configuration
File-System based
DynamicConfiguration implementation- Since:
- 2.7.5
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final intFields inherited from class org.apache.dubbo.common.config.configcenter.TreePathDynamicConfiguration
CONFIG_BASE_PATH_PARAM_NAME, CONFIG_ROOT_PATH_PARAM_NAME, DEFAULT_CONFIG_BASE_PATHFields inherited from class org.apache.dubbo.common.config.configcenter.AbstractDynamicConfiguration
DEFAULT_THREAD_POOL_KEEP_ALIVE_TIME, DEFAULT_THREAD_POOL_PREFIX, GROUP_PARAM_NAME, PARAM_NAME_PREFIX, THREAD_POOL_KEEP_ALIVE_TIME_PARAM_NAME, THREAD_POOL_PREFIX_PARAM_NAME, THREAD_POOL_SIZE_PARAM_NAME, TIMEOUT_PARAM_NAMEFields inherited from interface org.apache.dubbo.common.config.Configuration
interfaceLevelLoggerFields inherited from interface org.apache.dubbo.common.config.configcenter.DynamicConfiguration
DEFAULT_GROUP -
Constructor Summary
ConstructorsConstructorDescriptionFileSystemDynamicConfiguration(File rootDirectory) FileSystemDynamicConfiguration(File rootDirectory, String encoding) FileSystemDynamicConfiguration(File rootDirectory, String encoding, String threadPoolPrefixName) FileSystemDynamicConfiguration(File rootDirectory, String encoding, String threadPoolPrefixName, int threadPoolSize) FileSystemDynamicConfiguration(File rootDirectory, String encoding, String threadPoolPrefixName, int threadPoolSize, long keepAliveTime) FileSystemDynamicConfiguration(File rootDirectory, String encoding, String threadPoolPrefixName, int threadPoolSize, long keepAliveTime, ScopeModel scopeModel) -
Method Summary
Methods inherited from class org.apache.dubbo.common.config.configcenter.TreePathDynamicConfiguration
addListener, publishConfig, removeListenerMethods inherited from class org.apache.dubbo.common.config.configcenter.AbstractDynamicConfiguration
close, getConfig, getDefaultGroup, getDefaultTimeout, removeConfigMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.dubbo.common.config.Configuration
containsKey, convert, getBoolean, getBoolean, getBoolean, getInt, getInt, getInteger, getProperty, getProperty, getString, getStringMethods inherited from interface org.apache.dubbo.common.config.configcenter.DynamicConfiguration
addListener, getConfig, getConfigItem, getProperties, getProperties, publishConfig, publishConfigCas, removeListener
-
Field Details
-
CONFIG_CENTER_DIR_PARAM_NAME
- See Also:
-
CONFIG_CENTER_ENCODING_PARAM_NAME
- See Also:
-
DEFAULT_CONFIG_CENTER_DIR_PATH
-
DEFAULT_THREAD_POOL_SIZE
public static final int DEFAULT_THREAD_POOL_SIZE- See Also:
-
DEFAULT_CONFIG_CENTER_ENCODING
- See Also:
-
-
Constructor Details
-
FileSystemDynamicConfiguration
public FileSystemDynamicConfiguration() -
FileSystemDynamicConfiguration
-
FileSystemDynamicConfiguration
-
FileSystemDynamicConfiguration
-
FileSystemDynamicConfiguration
-
FileSystemDynamicConfiguration
-
FileSystemDynamicConfiguration
public FileSystemDynamicConfiguration(File rootDirectory, String encoding, String threadPoolPrefixName, int threadPoolSize, long keepAliveTime, ScopeModel scopeModel) -
FileSystemDynamicConfiguration
-
-
Method Details
-
configFile
-
getInternalProperty
- Specified by:
getInternalPropertyin interfaceConfiguration- Overrides:
getInternalPropertyin classAbstractDynamicConfiguration
-
getConfigGroups
-
getRootDirectory
-
getEncoding
-