Package org.apache.camel.cloud
Interface ServiceLoadBalancerFunction<T>
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ServiceLoadBalancerFunction<T>
Represents a load balancer function to be executed by the LoadBalancer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
apply(ServiceDefinition serviceDefinition)
-
-
-
Method Detail
-
apply
T apply(ServiceDefinition serviceDefinition) throws Exception
- Throws:
Exception
-
-