U
- the type of address before resolution (unresolved address)R
- the type of address after resolution (resolved address)Client
- the type of client to connect to the partitions@FunctionalInterface
public static interface DefaultPartitionedClientGroup.PartitionedClientFactory<U,R,Client>
Modifier and Type | Method and Description |
---|---|
Client |
apply(PartitionAttributes pa,
ServiceDiscoverer<U,R,? extends PartitionedServiceDiscovererEvent<R>> psd)
Create a partitioned client.
|
Client apply(PartitionAttributes pa, ServiceDiscoverer<U,R,? extends PartitionedServiceDiscovererEvent<R>> psd)
pa
- the PartitionAttributes
for this clientpsd
- the partitioned ServiceDiscoverer