Interface EndpointSelectionStrategy
-
- All Known Implementing Classes:
StickyEndpointSelectionStrategy
- 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 EndpointSelectionStrategy
Endpoint
selection strategy that creates aEndpointSelector
.
-
-
Field Summary
Fields Modifier and Type Field Description static EndpointSelectionStrategy
ROUND_ROBIN
Simple round-robin strategy.static EndpointSelectionStrategy
WEIGHTED_ROUND_ROBIN
Weighted round-robin strategy.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EndpointSelector
newSelector(EndpointGroup endpointGroup)
-
-
-
Field Detail
-
ROUND_ROBIN
static final EndpointSelectionStrategy ROUND_ROBIN
Simple round-robin strategy.
-
WEIGHTED_ROUND_ROBIN
static final EndpointSelectionStrategy WEIGHTED_ROUND_ROBIN
Weighted round-robin strategy.
-
-
Method Detail
-
newSelector
EndpointSelector newSelector(EndpointGroup endpointGroup)
-
-