Class LimitingConnectionFactoryFilter<ResolvedAddress,C extends ListenableAsyncCloseable>

java.lang.Object
io.servicetalk.client.api.LimitingConnectionFactoryFilter<ResolvedAddress,C>
Type Parameters:
ResolvedAddress - The type of a resolved address that can be used for connecting.
C - The type of connections created by this factory.
All Implemented Interfaces:
ConnectionFactoryFilter<ResolvedAddress,C>, ExecutionStrategyInfluencer<ExecutionStrategy>

public final class LimitingConnectionFactoryFilter<ResolvedAddress,C extends ListenableAsyncCloseable> extends Object implements ConnectionFactoryFilter<ResolvedAddress,C>
A ConnectionFactory that limits the total number of active connections created using this ConnectionFactory. A connection is considered active if ListenableAsyncCloseable.onClose() has not yet terminated.