| Package | Description |
|---|---|
| com.linecorp.armeria.client.endpoint |
Endpoint groups and their registry. |
| Modifier and Type | Class and Description |
|---|---|
class |
StickyEndpointSelectionStrategy
An
EndpointSelector strategy which implements sticky load-balancing using
user passed ToLongFunction to compute hashes for consistent hashing. |
| Modifier and Type | Field and Description |
|---|---|
static EndpointSelectionStrategy |
EndpointSelectionStrategy.ROUND_ROBIN
Simple round-robin strategy.
|
static EndpointSelectionStrategy |
EndpointSelectionStrategy.WEIGHTED_ROUND_ROBIN
Weighted round-robin strategy.
|
| Modifier and Type | Method and Description |
|---|---|
EndpointSelectionStrategy |
EndpointSelector.strategy()
Returns the
EndpointSelectionStrategy used by this selector to select an Endpoint. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
EndpointGroupRegistry.register(String groupName,
EndpointGroup endpointGroup,
EndpointSelectionStrategy endpointSelectionStrategy)
Registers the specified
EndpointGroup. |
Copyright © 2020 LeanCloud. All rights reserved.