Package org.apache.dubbo.common.utils
Class SystemPropertyConfigUtils
java.lang.Object
org.apache.dubbo.common.utils.SystemPropertyConfigUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringClear property of VM.static StringgetSystemProperty(String key) Return property of VM.static StringgetSystemProperty(String key, String defaultValue) Return property of VM.static StringsetSystemProperty(String key, String value) Set property of VM.
-
Constructor Details
-
SystemPropertyConfigUtils
public SystemPropertyConfigUtils()
-
-
Method Details
-
getSystemProperty
Return property of VM.- Parameters:
key-- Returns:
-
getSystemProperty
Return property of VM. If not exist, the default value is returned.- Parameters:
key-defaultValue-- Returns:
-
setSystemProperty
Set property of VM.- Parameters:
key-value-- Returns:
-
clearSystemProperty
Clear property of VM.- Parameters:
key-- Returns:
-