Interface LoadBalancingStrategy
- All Known Implementing Classes:
RoundRobinLoadBalancingStrategy
- 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 LoadBalancingStrategy
Strategy for determining the iteration order of a MessageHandler list.
- Since:
- 1.0.3
- Author:
- Mark Fisher, Oleg Zhurakousky
-
Method Summary
Modifier and Type Method Description Iterator<MessageHandler>
getHandlerIterator(Message<?> message, Collection<MessageHandler> handlers)
-
Method Details
-
getHandlerIterator
Iterator<MessageHandler> getHandlerIterator(Message<?> message, Collection<MessageHandler> handlers)
-