Class D2ClientFactory

java.lang.Object
com.linkedin.venice.d2.D2ClientFactory

public class D2ClientFactory extends Object
  • Field Details

    • SHARED_OBJECT_FACTORY

      protected static final SharedObjectFactory<com.linkedin.d2.balancer.D2Client> SHARED_OBJECT_FACTORY
  • Constructor Details

    • D2ClientFactory

      public D2ClientFactory()
  • Method Details

    • setUnitTestMode

      public static void setUnitTestMode()
    • resetUnitTestMode

      public static void resetUnitTestMode()
    • setD2Client

      public static void setD2Client(String d2ZkHost, com.linkedin.d2.balancer.D2Client d2Client)
    • getD2Client

      public static com.linkedin.d2.balancer.D2Client getD2Client(String d2ZkHost, Optional<SSLFactory> sslFactoryOptional)
    • release

      public static void release(String d2ZkHost)