Class D2ControllerClientFactory


  • public class D2ControllerClientFactory
    extends java.lang.Object
    • Constructor Detail

      • D2ControllerClientFactory

        public D2ControllerClientFactory()
    • Method Detail

      • getControllerClient

        public static D2ControllerClient getControllerClient​(java.lang.String d2ServiceName,
                                                             java.lang.String clusterName,
                                                             java.lang.String d2ZkHost,
                                                             java.util.Optional<SSLFactory> sslFactory)
      • getControllerClient

        public static D2ControllerClient getControllerClient​(java.lang.String d2ServiceName,
                                                             java.lang.String clusterName,
                                                             com.linkedin.d2.balancer.D2Client d2Client)
      • discoverAndConstructControllerClient

        public static D2ControllerClient discoverAndConstructControllerClient​(java.lang.String storeName,
                                                                              java.lang.String d2ServiceName,
                                                                              int retryAttempts,
                                                                              com.linkedin.d2.balancer.D2Client d2Client)
      • discoverAndConstructControllerClient

        public static D2ControllerClient discoverAndConstructControllerClient​(java.lang.String storeName,
                                                                              java.lang.String d2ServiceName,
                                                                              java.lang.String d2ZkHost,
                                                                              java.util.Optional<SSLFactory> sslFactory,
                                                                              int retryAttempts)