Package com.linkedin.venice.d2
Class D2ClientFactory
java.lang.Object
com.linkedin.venice.d2.D2ClientFactory
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final SharedObjectFactory<com.linkedin.d2.balancer.D2Client>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.linkedin.d2.balancer.D2Client
getD2Client
(String d2ZkHost, Optional<SSLFactory> sslFactoryOptional) static void
static void
static void
setD2Client
(String d2ZkHost, com.linkedin.d2.balancer.D2Client d2Client) static void
-
Field Details
-
SHARED_OBJECT_FACTORY
-
-
Constructor Details
-
D2ClientFactory
public D2ClientFactory()
-
-
Method Details
-
setUnitTestMode
public static void setUnitTestMode() -
resetUnitTestMode
public static void resetUnitTestMode() -
setD2Client
-
getD2Client
public static com.linkedin.d2.balancer.D2Client getD2Client(String d2ZkHost, Optional<SSLFactory> sslFactoryOptional) -
release
-