public static interface ReactiveLoadBalancer.Factory<T>
| Modifier and Type | Method and Description |
|---|---|
ReactiveLoadBalancer<T> |
getInstance(String serviceId) |
<X> X |
getInstance(String name,
Class<?> clazz,
Class<?>... generics)
Allows accessing a bean registered within client-specific LoadBalancer
contexts.
|
<X> Map<String,X> |
getInstances(String name,
Class<X> type)
Allows accessing beans registered within client-specific LoadBalancer contexts.
|
ReactiveLoadBalancer<T> getInstance(String serviceId)
<X> Map<String,X> getInstances(String name, Class<X> type)
X - The type of the beans to be returnedname - Name of the beans to be returnedtype - The class of the beans to be returnedMap of beans@LoadBalancerClient<X> X getInstance(String name, Class<?> clazz, Class<?>... generics)
X - The type of the bean to be returnedname - Name of the bean to be returnedclazz - The class of the bean to be returnedgenerics - The classes of generic types of the bean to be returnedMap of beans@LoadBalancerClientCopyright © 2022 Pivotal Software, Inc.. All rights reserved.