@FunctionalInterface public interface EndpointSelectionStrategy
Endpoint selection strategy that creates a EndpointSelector.| Modifier and Type | Field and Description |
|---|---|
static EndpointSelectionStrategy |
ROUND_ROBIN
Simple round-robin strategy.
|
static EndpointSelectionStrategy |
WEIGHTED_ROUND_ROBIN
Weighted round-robin strategy.
|
| Modifier and Type | Method and Description |
|---|---|
EndpointSelector |
newSelector(EndpointGroup endpointGroup)
|
static final EndpointSelectionStrategy ROUND_ROBIN
static final EndpointSelectionStrategy WEIGHTED_ROUND_ROBIN
EndpointSelector newSelector(EndpointGroup endpointGroup)
Copyright © 2020 LeanCloud. All rights reserved.