Class ClientFactory
- java.lang.Object
-
- com.linkedin.venice.fastclient.factory.ClientFactory
-
public class ClientFactory extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ClientFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <K,V>
AvroGenericStoreClient<K,V>getAndStartGenericStoreClient(ClientConfig clientConfig)
static <K,V>
AvroGenericStoreClient<K,V>getAndStartGenericStoreClient(StoreMetadata storeMetadata, ClientConfig clientConfig)
TODO: once we decide to completely remove the helix based implementation, we won't need to pass the param: {@param storeMetadata} in these factory methods.static <K,V extends org.apache.avro.specific.SpecificRecord>
AvroSpecificStoreClient<K,V>getAndStartSpecificStoreClient(ClientConfig clientConfig)
static <K,V extends org.apache.avro.specific.SpecificRecord>
AvroSpecificStoreClient<K,V>getAndStartSpecificStoreClient(StoreMetadata storeMetadata, ClientConfig clientConfig)
-
-
-
Method Detail
-
getAndStartGenericStoreClient
public static <K,V> AvroGenericStoreClient<K,V> getAndStartGenericStoreClient(ClientConfig clientConfig)
-
getAndStartSpecificStoreClient
public static <K,V extends org.apache.avro.specific.SpecificRecord> AvroSpecificStoreClient<K,V> getAndStartSpecificStoreClient(ClientConfig clientConfig)
-
getAndStartGenericStoreClient
public static <K,V> AvroGenericStoreClient<K,V> getAndStartGenericStoreClient(StoreMetadata storeMetadata, ClientConfig clientConfig)
TODO: once we decide to completely remove the helix based implementation, we won't need to pass the param: {@param storeMetadata} in these factory methods. So far, it is for the testing purpose.
-
getAndStartSpecificStoreClient
public static <K,V extends org.apache.avro.specific.SpecificRecord> AvroSpecificStoreClient<K,V> getAndStartSpecificStoreClient(StoreMetadata storeMetadata, ClientConfig clientConfig)
-
-