接口 RpcTlsConfigFactory

所有已知实现类:
RpcClientTlsConfigFactory

public interface RpcTlsConfigFactory
RpcTlsConfigFactory.
作者:
stone-98
  • 方法详细资料

    • createSdkConfig

      TlsConfig createSdkConfig(Properties properties)
      Create a TlsConfig for SDK connections based on the provided properties.
      参数:
      properties - Properties containing configuration
      返回:
      TlsConfig instance for SDK connections
    • createClusterConfig

      TlsConfig createClusterConfig(Properties properties)
      Create a TlsConfig for cluster connections based on the provided properties.
      参数:
      properties - Properties containing configuration
      返回:
      TlsConfig instance for cluster connections
    • getBooleanProperty

      default Boolean getBooleanProperty(Properties properties, String key, Boolean defaultValue)
      Get boolean property from properties.
      参数:
      properties - Properties containing configuration
      key - Key of the property
      defaultValue - 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