Interface DefaultPartitionedClientGroup.PartitionedClientFactory<U,R,Client>
- Type Parameters:
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
- Enclosing class:
- DefaultPartitionedClientGroup<U,
R, Client extends ListenableAsyncCloseable>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Deprecated
@FunctionalInterface
public static interface DefaultPartitionedClientGroup.PartitionedClientFactory<U,R,Client>
Deprecated.
Factory for building partitioned clients.
-
Method Summary
Modifier and TypeMethodDescriptionapply
(PartitionAttributes pa, ServiceDiscoverer<U, R, ServiceDiscovererEvent<R>> psd) Deprecated.Create a partitioned client.
-
Method Details
-
apply
Deprecated.Create a partitioned client.- Parameters:
pa
- thePartitionAttributes
for this clientpsd
- the partitionedServiceDiscoverer
- Returns:
- new client for the given arguments
-
ClientGroup
as an alternative or reach out to the maintainers describing the use-case.