javadoc added

pull/5520/head
Nikita Koksharov 1 year ago
parent f7c25e9078
commit dc32e93eb1

@ -85,6 +85,12 @@ public class SequentialDnsAddressResolverFactory implements AddressResolverGroup
this(6);
}
/**
* Creates DNS resolver factory with the specified number of requests
* to DNS servers which can be executed at the same moment.
*
* @param concurrencyLevel number of requests can be executed at the same moment.
*/
public SequentialDnsAddressResolverFactory(int concurrencyLevel) {
asyncSemaphore = new AsyncSemaphore(concurrencyLevel);
}

Loading…
Cancel
Save