| Package | Description |
|---|---|
| com.linecorp.armeria.client |
Client core.
|
| com.linecorp.armeria.client.endpoint |
Endpoint groups and their registry. |
| com.linecorp.armeria.client.endpoint.dns |
DNS-based
EndpointGroup implementation. |
| com.linecorp.armeria.client.endpoint.healthcheck |
Filters out unhealthy
Endpoints from an existing
EndpointGroup by sending health check requests. |
| Modifier and Type | Class and Description |
|---|---|
class |
Endpoint
A remote endpoint that refers to a single host or a group of multiple hosts.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DynamicEndpointGroup
A dynamic
EndpointGroup. |
class |
PropertiesEndpointGroup
A
Properties backed EndpointGroup. |
class |
StaticEndpointGroup
Deprecated.
Use
of(EndpointGroup...). |
| Modifier and Type | Method and Description |
|---|---|
static EndpointGroup |
EndpointGroup.empty()
Returns a singleton
EndpointGroup which does not contain any Endpoints. |
static EndpointGroup |
EndpointGroupRegistry.get(String groupName)
Get the
EndpointGroup for the specified case-insensitive groupName. |
EndpointGroup |
EndpointSelector.group()
Returns the
EndpointGroup held by this selector. |
static EndpointGroup |
EndpointGroup.of(EndpointGroup... endpointGroups)
|
static EndpointGroup |
EndpointGroup.of(Iterable<? extends EndpointGroup> endpointGroups)
|
default EndpointGroup |
EndpointGroup.orElse(EndpointGroup nextEndpointGroup) |
| Modifier and Type | Method and Description |
|---|---|
EndpointSelector |
StickyEndpointSelectionStrategy.newSelector(EndpointGroup endpointGroup)
Creates a new
StickyEndpointSelector. |
EndpointSelector |
EndpointSelectionStrategy.newSelector(EndpointGroup endpointGroup)
|
static EndpointGroup |
EndpointGroup.of(EndpointGroup... endpointGroups)
|
default EndpointGroup |
EndpointGroup.orElse(EndpointGroup nextEndpointGroup) |
static boolean |
EndpointGroupRegistry.register(String groupName,
EndpointGroup endpointGroup,
EndpointSelectionStrategy endpointSelectionStrategy)
Registers the specified
EndpointGroup. |
| Modifier and Type | Method and Description |
|---|---|
static EndpointGroup |
EndpointGroup.of(Iterable<? extends EndpointGroup> endpointGroups)
|
| Modifier and Type | Class and Description |
|---|---|
class |
DnsAddressEndpointGroup
|
class |
DnsServiceEndpointGroup
DynamicEndpointGroup which resolves targets using DNS
SRV records. |
class |
DnsTextEndpointGroup
DynamicEndpointGroup which resolves targets using DNS TXT records. |
| Modifier and Type | Class and Description |
|---|---|
class |
HealthCheckedEndpointGroup
An
EndpointGroup that filters out unhealthy Endpoints from an existing EndpointGroup,
by sending periodic health check requests. |
| Modifier and Type | Method and Description |
|---|---|
static HealthCheckedEndpointGroupBuilder |
HealthCheckedEndpointGroup.builder(EndpointGroup delegate,
String path)
Returns a newly created
HealthCheckedEndpointGroupBuilder that builds
a HealthCheckedEndpointGroup which sends HTTP HEAD health check requests. |
static HealthCheckedEndpointGroup |
HealthCheckedEndpointGroup.of(EndpointGroup delegate,
String path)
Returns a newly created
HealthCheckedEndpointGroup that sends HTTP HEAD health check
requests with default options. |
| Constructor and Description |
|---|
AbstractHealthCheckedEndpointGroupBuilder(EndpointGroup delegate)
Creates a new
AbstractHealthCheckedEndpointGroupBuilder. |
Copyright © 2020 LeanCloud. All rights reserved.