timeoutOptionIsParsedIfPresent() — netty Function Reference
Architecture documentation for the timeoutOptionIsParsedIfPresent() function in UnixResolverDnsServerAddressStreamProviderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 78f4cb3c_73e4_b601_9348_d23a97e2729a["timeoutOptionIsParsedIfPresent()"] 41d853d7_ce22_381d_87e1_1ee33fc781c4["UnixResolverDnsServerAddressStreamProviderTest"] 78f4cb3c_73e4_b601_9348_d23a97e2729a -->|defined in| 41d853d7_ce22_381d_87e1_1ee33fc781c4 style 78f4cb3c_73e4_b601_9348_d23a97e2729a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
resolver-dns/src/test/java/io/netty/resolver/dns/UnixResolverDnsServerAddressStreamProviderTest.java lines 159–170
@Test
public void timeoutOptionIsParsedIfPresent(@TempDir Path tempDir) throws IOException {
File f = buildFile(tempDir, "search localdomain\n" +
"nameserver 127.0.0.11\n" +
"options timeout:0\n");
assertEquals(0, parseEtcResolverOptions(f).timeout());
f = buildFile(tempDir, "search localdomain\n" +
"nameserver 127.0.0.11\n" +
"options foo:bar timeout:124\n");
assertEquals(124, parseEtcResolverOptions(f).timeout());
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does timeoutOptionIsParsedIfPresent() do?
timeoutOptionIsParsedIfPresent() is a function in the netty codebase, defined in resolver-dns/src/test/java/io/netty/resolver/dns/UnixResolverDnsServerAddressStreamProviderTest.java.
Where is timeoutOptionIsParsedIfPresent() defined?
timeoutOptionIsParsedIfPresent() is defined in resolver-dns/src/test/java/io/netty/resolver/dns/UnixResolverDnsServerAddressStreamProviderTest.java at line 159.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free