Package io.servicetalk.client.api
Interface GroupKey<Address>
-
- Type Parameters:
Address
- The type of address used by clients (typically this is unresolved address).
- All Known Implementing Classes:
DefaultGroupKey
public interface GroupKey<Address>
Identifies a client within a group of clients, and provides enough information to create a client if non exist.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Address
address()
Get the address to use when looking for or creating a new client.ExecutionContext
executionContext()
Get theExecutionContext
to use when looking for or creating a new client.
-
-
-
Method Detail
-
address
Address address()
Get the address to use when looking for or creating a new client. This address is typically unresolved, but may not be a requirement depending upon configuration.- Returns:
- the address to use when looking for or creating a new client. This address is typically unresolved, but may not be a requirement depending upon configuration.
-
executionContext
ExecutionContext executionContext()
Get theExecutionContext
to use when looking for or creating a new client.- Returns:
- the
ExecutionContext
to use when looking for or creating a new client.
-
-