Interface ReactiveLoadBalancer.Factory<T>
-
- Enclosing interface:
- ReactiveLoadBalancer<T>
public static interface ReactiveLoadBalancer.Factory<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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.default LoadBalancerProperties
getProperties(String serviceId)
-
-
-
Method Detail
-
getProperties
default LoadBalancerProperties getProperties(String serviceId)
-
getInstance
ReactiveLoadBalancer<T> getInstance(String serviceId)
-
getInstances
<X> Map<String,X> getInstances(String name, Class<X> type)
Allows accessing beans registered within client-specific LoadBalancer contexts.- Type Parameters:
X
- The type of the beans to be returned- Parameters:
name
- Name of the beans to be returnedtype
- The class of the beans to be returned- Returns:
- a
Map
of beans - See Also:
@LoadBalancerClient
-
getInstance
<X> X getInstance(String name, Class<?> clazz, Class<?>... generics)
Allows accessing a bean registered within client-specific LoadBalancer contexts.- Type Parameters:
X
- The type of the bean to be returned- Parameters:
name
- 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 returned- Returns:
- a
Map
of beans - See Also:
@LoadBalancerClient
-
-