public interface RpcTlsConfigFactory
| 限定符和类型 | 方法和说明 |
|---|---|
TlsConfig |
createClusterConfig(Properties properties)
Create a TlsConfig for cluster connections based on the provided properties.
|
TlsConfig |
createSdkConfig(Properties properties)
Create a TlsConfig for SDK connections based on the provided properties.
|
default Boolean |
getBooleanProperty(Properties properties,
String key,
Boolean defaultValue)
Get boolean property from properties.
|
TlsConfig createSdkConfig(Properties properties)
properties - Properties containing configurationTlsConfig createClusterConfig(Properties properties)
properties - Properties containing configurationdefault Boolean getBooleanProperty(Properties properties, String key, Boolean defaultValue)
properties - Properties containing configurationkey - Key of the propertydefaultValue - Default value to return if the property is not found or is invalidCopyright © 2018–2024 Alibaba Group. All rights reserved.