Package com.linkedin.venice.client.store
Class ClientFactory
java.lang.Object
com.linkedin.venice.client.store.ClientFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StoreSchemaFetchercreateStoreSchemaFetcher(ClientConfig clientConfig) static <K,V> AvroGenericStoreClient<K, V> getAndStartAvroClient(ClientConfig clientConfig) static <K,V> AvroGenericStoreClient<K, V> getAndStartGenericAvroClient(ClientConfig clientConfig) static <K,V extends org.apache.avro.specific.SpecificRecord>
AvroSpecificStoreClient<K,V> getAndStartSpecificAvroClient(ClientConfig<V> clientConfig) static <K,V> AvroGenericStoreClient<K, V> getGenericAvroClient(ClientConfig clientConfig) static SchemaReadergetSchemaReader(ClientConfig clientConfig) static SchemaReadergetSchemaReader(ClientConfig clientConfig, ICProvider icProvider) static <K,V extends org.apache.avro.specific.SpecificRecord>
AvroSpecificStoreClient<K,V> getSpecificAvroClient(ClientConfig<V> clientConfig) static TransportClientgetTransportClient(ClientConfig clientConfig) static voidsetTransportClientProvider(Function<ClientConfig, TransportClient> transportClientProvider) static void
-
Constructor Details
-
ClientFactory
public ClientFactory()
-
-
Method Details
-
setUnitTestMode
public static void setUnitTestMode() -
setTransportClientProvider
public static void setTransportClientProvider(Function<ClientConfig, TransportClient> transportClientProvider) -
getAndStartGenericAvroClient
public static <K,V> AvroGenericStoreClient<K,V> getAndStartGenericAvroClient(ClientConfig clientConfig) -
getGenericAvroClient
-
getAndStartSpecificAvroClient
public static <K,V extends org.apache.avro.specific.SpecificRecord> AvroSpecificStoreClient<K,V> getAndStartSpecificAvroClient(ClientConfig<V> clientConfig) -
getSpecificAvroClient
public static <K,V extends org.apache.avro.specific.SpecificRecord> AvroSpecificStoreClient<K,V> getSpecificAvroClient(ClientConfig<V> clientConfig) -
getAndStartAvroClient
-
getSchemaReader
-
getSchemaReader
-
createStoreSchemaFetcher
-
getTransportClient
-