Package org.apache.dubbo.common.config
Class InmemoryConfiguration
java.lang.Object
org.apache.dubbo.common.config.InmemoryConfiguration
- All Implemented Interfaces:
Configuration
In-memory configuration
-
Field Summary
Fields inherited from interface org.apache.dubbo.common.config.Configuration
interfaceLevelLogger -
Constructor Summary
ConstructorsConstructorDescriptionInmemoryConfiguration(String name) InmemoryConfiguration(Map<String, String> properties) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperties(Map<String, String> properties) Add a set of properties into the storevoidaddProperty(String key, String value) Add one property into the store, the previous value will be replaced if the key existsvoidsetProperties(Map<String, String> properties) set storeMethods 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, getString
-
Constructor Details
-
InmemoryConfiguration
public InmemoryConfiguration() -
InmemoryConfiguration
-
InmemoryConfiguration
-
-
Method Details
-
getInternalProperty
- Specified by:
getInternalPropertyin interfaceConfiguration
-
addProperty
Add one property into the store, the previous value will be replaced if the key exists -
addProperties
Add a set of properties into the store -
setProperties
set store -
getProperties
-