public class DriftClientFactory extends Object
| Constructor and Description |
|---|
DriftClientFactory(ThriftCodecManager codecManager,
MethodInvokerFactory<?> invokerFactory,
AddressSelector<? extends Address> addressSelector) |
DriftClientFactory(ThriftCodecManager codecManager,
MethodInvokerFactory<?> invokerFactory,
AddressSelector<? extends Address> addressSelector,
ExceptionClassifier exceptionClassifier) |
DriftClientFactory(ThriftCodecManager codecManager,
Supplier<MethodInvoker> methodInvokerSupplier,
AddressSelector<? extends Address> addressSelector,
ExceptionClassifier exceptionClassifier,
MethodInvocationStatsFactory methodInvocationStatsFactory) |
| Modifier and Type | Method and Description |
|---|---|
<T> DriftClient<T> |
createDriftClient(Class<T> clientInterface) |
<T> DriftClient<T> |
createDriftClient(Class<T> clientInterface,
Optional<Class<? extends Annotation>> qualifierAnnotation,
List<MethodInvocationFilter> filters,
DriftClientConfig config) |
public DriftClientFactory(ThriftCodecManager codecManager, Supplier<MethodInvoker> methodInvokerSupplier, AddressSelector<? extends Address> addressSelector, ExceptionClassifier exceptionClassifier, MethodInvocationStatsFactory methodInvocationStatsFactory)
public DriftClientFactory(ThriftCodecManager codecManager, MethodInvokerFactory<?> invokerFactory, AddressSelector<? extends Address> addressSelector, ExceptionClassifier exceptionClassifier)
public DriftClientFactory(ThriftCodecManager codecManager, MethodInvokerFactory<?> invokerFactory, AddressSelector<? extends Address> addressSelector)
public <T> DriftClient<T> createDriftClient(Class<T> clientInterface)
public <T> DriftClient<T> createDriftClient(Class<T> clientInterface, Optional<Class<? extends Annotation>> qualifierAnnotation, List<MethodInvocationFilter> filters, DriftClientConfig config)
Copyright © 2012–2018. All rights reserved.