Class ControllerClientFactory
- java.lang.Object
-
- com.linkedin.venice.controllerapi.ControllerClientFactory
-
public class ControllerClientFactory extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ControllerClientFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ControllerClient
discoverAndConstructControllerClient(java.lang.String storeName, java.lang.String discoveryUrls, java.util.Optional<SSLFactory> sslFactory, int retryAttempts)
static ControllerClient
getControllerClient(java.lang.String clusterName, java.lang.String discoveryUrls, java.util.Optional<SSLFactory> sslFactory)
static boolean
release(ControllerClient client)
-
-
-
Method Detail
-
getControllerClient
public static ControllerClient getControllerClient(java.lang.String clusterName, java.lang.String discoveryUrls, java.util.Optional<SSLFactory> sslFactory)
-
discoverAndConstructControllerClient
public static ControllerClient discoverAndConstructControllerClient(java.lang.String storeName, java.lang.String discoveryUrls, java.util.Optional<SSLFactory> sslFactory, int retryAttempts)
-
release
public static boolean release(ControllerClient client)
-
-