接口 RpcTlsConfigFactory
- 所有已知实现类:
RpcClientTlsConfigFactory
public interface RpcTlsConfigFactory
RpcTlsConfigFactory.
- 作者:
- stone-98
-
方法概要
修饰符和类型方法说明createClusterConfig(Properties properties) Create a TlsConfig for cluster connections based on the provided properties.createSdkConfig(Properties properties) Create a TlsConfig for SDK connections based on the provided properties.default BooleangetBooleanProperty(Properties properties, String key, Boolean defaultValue) Get boolean property from properties.
-
方法详细资料
-
createSdkConfig
Create a TlsConfig for SDK connections based on the provided properties.- 参数:
properties- Properties containing configuration- 返回:
- TlsConfig instance for SDK connections
-
createClusterConfig
Create a TlsConfig for cluster connections based on the provided properties.- 参数:
properties- Properties containing configuration- 返回:
- TlsConfig instance for cluster connections
-
getBooleanProperty
Get boolean property from properties.- 参数:
properties- Properties containing configurationkey- Key of the propertydefaultValue- Default value to return if the property is not found or is invalid- 返回:
- Boolean value of the property, or the provided defaultValue if not found or invalid
-