| Package | Description |
|---|---|
| com.linecorp.armeria.client.endpoint.dns |
DNS-based
EndpointGroup implementation. |
| Modifier and Type | Method and Description |
|---|---|
DnsTextEndpointGroup |
DnsTextEndpointGroupBuilder.build()
Returns a newly created
DnsTextEndpointGroup. |
static DnsTextEndpointGroup |
DnsTextEndpointGroup.of(String hostname,
Function<byte[],Endpoint> mapping)
Creates a
DnsTextEndpointGroup that schedules queries on a random EventLoop from
CommonPools.workerGroup(). |
Copyright © 2020 LeanCloud. All rights reserved.